SL-13813 The current line is not selected after triple-clicking text in notecard on the macOS
parent
275188a7e3
commit
acfbb41f4d
|
|
@ -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]);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue