diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2012-08-03 16:44:12 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2012-08-03 16:44:12 (GMT) |
| commit | 40e5ce5d37cde6d923d9ca68efd0fe49e4940986 (patch) | |
| tree | 3447fd070de5764a19dad606b4323ae7a9b92148 /src/interface/Label.cpp | |
| parent | c7dd248ae3b3b71617ade8a1bbe3a28f25d3d03a (diff) | |
| download | powder-40e5ce5d37cde6d923d9ca68efd0fe49e4940986.zip powder-40e5ce5d37cde6d923d9ca68efd0fe49e4940986.tar.gz | |
Fix context menu position #65
Diffstat (limited to 'src/interface/Label.cpp')
| -rw-r--r-- | src/interface/Label.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interface/Label.cpp b/src/interface/Label.cpp index 4be7fb7..e388e12 100644 --- a/src/interface/Label.cpp +++ b/src/interface/Label.cpp @@ -121,7 +121,7 @@ void Label::OnMouseClick(int x, int y, unsigned button) if(button == BUTTON_RIGHT) { if(menu) - menu->Show(GetParentWindow()->Position + Position + ui::Point(x, y)); + menu->Show(GetScreenPos() + ui::Point(x, y)); } else { |
