mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-05-30 21:02:43 +02:00
Turbopower_iPro: Avoid opening hyperlinks if a special key is pressed while clicking.
git-svn-id: trunk@50189 -
This commit is contained in:
parent
2ff909a6cc
commit
9c9b31c0e5
@ -13060,9 +13060,8 @@ procedure TIpHtmlInternalPanel.MouseUp(Button: TMouseButton; Shift: TShiftState;
|
||||
begin
|
||||
inherited;
|
||||
MouseIsDown := False;
|
||||
if (abs(MouseDownX - X) < 4)
|
||||
and (abs(MouseDownY - Y) < 4) then
|
||||
if (Button = mbLeft) and (Hyper.HotNode <> nil) then
|
||||
if (abs(MouseDownX - X) < 4) and (abs(MouseDownY - Y) < 4) then
|
||||
if (Button = mbLeft) and (Shift = []) and (Hyper.HotNode <> nil) then
|
||||
{$IFDEF IP_LAZARUS}
|
||||
// to avoid references to invalid objects do it asynchronously
|
||||
Application.QueueAsyncCall(AsyncHotInvoke, 0)
|
||||
|
Loading…
Reference in New Issue
Block a user