summaryrefslogtreecommitdiff
path: root/src/corelib/gfx_widget.pas
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/gfx_widget.pas')
-rw-r--r--src/corelib/gfx_widget.pas2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/gfx_widget.pas b/src/corelib/gfx_widget.pas
index 1f4603d5..e1f68e6e 100644
--- a/src/corelib/gfx_widget.pas
+++ b/src/corelib/gfx_widget.pas
@@ -620,7 +620,7 @@ begin
begin
{ TODO : We could improve the X,Y coordinates. Not really sure how
Menu Key should handle that. }
- HandleRMouseDown(10, 10, []);
+ HandleRMouseDown(Width div 2, Height div 2, []);
end;
end;