2
0

Copy login name on shift & update UI to reflect it.

This commit is contained in:
Maarten Billemont
2020-04-08 19:36:19 -04:00
parent 6dd8790404
commit 21b0053ccb
2 changed files with 20 additions and 6 deletions

View File

@@ -270,7 +270,9 @@
PearlMainQueue( ^{
self.content = result;
self.displayedContent = displayResult;
if (!([NSEvent modifierFlags] & NSShiftKeyMask))
self.displayedContent = displayResult;
} );
}
@@ -278,6 +280,9 @@
PearlMainQueue( ^{
self.loginName = loginName;
if ([NSEvent modifierFlags] & NSShiftKeyMask)
self.displayedContent = loginName;
} );
}