mirror of
https://github.com/viliusle/miniPaint.git
synced 2026-02-06 11:21:47 +00:00
fixed search shortcut on Mac
This commit is contained in:
parent
fa6d7b69c7
commit
997089d506
@ -32,8 +32,8 @@ class Base_search_class {
|
||||
return;
|
||||
}
|
||||
|
||||
var code = event.key.toLowerCase();
|
||||
if (code == "f3") {
|
||||
var code = event.key;
|
||||
if (code == "F3" || ( (event.ctrlKey == true || event.metaKey) && code == "f")) {
|
||||
//open
|
||||
this.search();
|
||||
event.preventDefault();
|
||||
|
||||
@ -13,7 +13,7 @@ class Help_shortcuts_class {
|
||||
className: 'shortcuts',
|
||||
params: [
|
||||
{title: "F", value: 'Auto Adjust Colors'},
|
||||
{title: "F3", value: 'Search'},
|
||||
{title: "F3 / ⌘ + F", value: 'Search'},
|
||||
{title: "Ctrl + C", value: 'Copy to Clipboard'},
|
||||
{title: "D", value: 'Duplicate'},
|
||||
{title: "S", value: 'Export'},
|
||||
|
||||
Loading…
Reference in New Issue
Block a user