diff options
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 { |
