Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
nerrons
purr-data
Commits
9c32c82f
Commit
9c32c82f
authored
Nov 28, 2016
by
Albert Gräf
Browse files
Change keyboard bindings of the zoom/fit functions for better Mac compatibility, fixes #171 for me.
parent
7b218985
Changes
1
Hide whitespace changes
Inline
Side-by-side
pd/nw/pd_menus.js
View file @
9c32c82f
...
...
@@ -342,20 +342,20 @@ function create_menu(gui, type) {
if
(
canvas_menu
)
{
view_menu
.
append
(
m
.
view
.
optimalzoom
=
new
gui
.
MenuItem
({
label
:
l
(
"
menu.zoomoptimal
"
),
key
:
"
0
"
,
modifiers
:
cmd_or_ctrl
+
"
+alt
"
,
key
:
"
9
"
,
modifiers
:
cmd_or_ctrl
,
tooltip
:
l
(
"
menu.zoomoptimal_tt
"
)
}));
view_menu
.
append
(
m
.
view
.
horizzoom
=
new
gui
.
MenuItem
({
label
:
l
(
"
menu.zoomhoriz
"
),
key
:
"
w
"
,
key
:
"
9
"
,
modifiers
:
cmd_or_ctrl
+
"
+alt
"
,
tooltip
:
l
(
"
menu.zoomhoriz_tt
"
)
}));
view_menu
.
append
(
m
.
view
.
vertzoom
=
new
gui
.
MenuItem
({
label
:
l
(
"
menu.zoomvert
"
),
key
:
"
h
"
,
modifiers
:
cmd_or_ctrl
+
"
+
al
t
"
,
key
:
"
9
"
,
modifiers
:
cmd_or_ctrl
+
"
+
shif
t
"
,
tooltip
:
l
(
"
menu.zoomvert_tt
"
)
}));
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment