Fix ButtonEvent position on double-click
commitffa25e930037bd8acbd133c31acd2110f4221105
authordvlierop <mail@diedenrezi.nl>
Sun, 21 Apr 2024 18:23:36 +0000 (21 20:23 +0200)
committerPBS <pbs3141@googlemail.com>
Sat, 27 Apr 2024 02:06:22 +0000 (27 02:06 +0000)
treee33734c165dcf12a7be56c12627005a731e9791d
parent67af64449273f73004ef99c00a941033de4a4cd4
Fix ButtonEvent position on double-click

Only transform the mouse coordinates to world coordinates on first
button press, and do not convert them a second time in case of
double-clicking

See:
https://chat.inkscape.org/channel/team_devel/rocket-search?msg=xJK9aivMkXJpHdXQn
https://gitlab.com/inkscape/inkscape/-/merge_requests/6337#note_1863728232
src/ui/widget/canvas.cpp