mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-04 16:40:23 +02:00
Gtk3: scrollingwincontrol should offsetmousepos too.
This commit is contained in:
parent
9ba82ba4e0
commit
28bca8c694
@ -5802,7 +5802,7 @@ var
|
||||
aWindow: PGdkWindow;
|
||||
begin
|
||||
inherited OffsetMousePos(aGlobalX, aGlobalY, APoint);
|
||||
if [wtCustomControl, wtWindow] * WidgetType = [] then
|
||||
if [wtCustomControl, wtScrollingWinControl, wtWindow] * WidgetType = [] then
|
||||
exit;
|
||||
ScrolledWindow := GetScrolledWindow;
|
||||
if not Gtk3IsScrolledWindow(ScrolledWindow) then
|
||||
|
Loading…
Reference in New Issue
Block a user