Gtk3: scrollingwincontrol should offsetmousepos too.

This commit is contained in:
zeljan1 2025-03-26 10:26:23 +01:00
parent 9ba82ba4e0
commit 28bca8c694

View File

@ -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