mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-09 20:28:19 +02:00
qt: don't offset mouse pos in wheel event
git-svn-id: trunk@15382 -
This commit is contained in:
parent
945a0487b2
commit
04fb5145bc
@ -2132,7 +2132,6 @@ begin
|
||||
FillChar(Msg, SizeOf(Msg), #0);
|
||||
|
||||
MousePos := QWheelEvent_globalPos(QWheelEventH(Event))^;
|
||||
OffsetMousePos(@MousePos);
|
||||
|
||||
LastMouse.Widget := Sender;
|
||||
LastMouse.MousePos := MousePos;
|
||||
|
Loading…
Reference in New Issue
Block a user