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

master
Mnikolenko ProductEngine 2020-08-20 19:49:23 +03:00
parent 275188a7e3
commit acfbb41f4d
1 changed files with 2 additions and 2 deletions

View File

@ -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]);
}
}