mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-12 09:56:12 +02:00
qt: send wheel events in screen coordinates
git-svn-id: trunk@15381 -
This commit is contained in:
parent
7872f8a8db
commit
945a0487b2
@ -2131,7 +2131,7 @@ var
|
||||
begin
|
||||
FillChar(Msg, SizeOf(Msg), #0);
|
||||
|
||||
MousePos := QWheelEvent_pos(QWheelEventH(Event))^;
|
||||
MousePos := QWheelEvent_globalPos(QWheelEventH(Event))^;
|
||||
OffsetMousePos(@MousePos);
|
||||
|
||||
LastMouse.Widget := Sender;
|
||||
|
Loading…
Reference in New Issue
Block a user