Skip to content
Snippets Groups Projects
Commit acfbb41f authored by Mnikolenko ProductEngine's avatar Mnikolenko ProductEngine
Browse files

SL-13813 The current line is not selected after triple-clicking text in notecard on the macOS

parent 275188a7
No related branches found
No related tags found
No related merge requests found
......@@ -359,10 +359,10 @@ attributedStringInfo getSegments(NSAttributedString *str)
callRightMouseDown(mMousePos, [theEvent modifierFlags]);
mSimulatedRightClick = true;
} else {
if ([theEvent clickCount] >= 2)
if ([theEvent clickCount] == 2)
{
callDoubleClick(mMousePos, [theEvent modifierFlags]);
} else if ([theEvent clickCount] == 1) {
} else if ([theEvent clickCount] >= 1) {
callLeftMouseDown(mMousePos, [theEvent modifierFlags]);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment