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
David MacDonald
purr-data
Commits
f382a783
Commit
f382a783
authored
Aug 04, 2012
by
Ivica Bukvic
Browse files
disabled zoom inside K12 mode
parent
85e7ed03
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/pd.tk
View file @
f382a783
...
...
@@ -2956,8 +2956,10 @@ proc pdtk_canvas_new {name width height geometry editable} {
bind
$
name
.
c
<
Button
-
5
>
"pdtk_canvas_scroll $name.c y +1"
bind
$
name
.
c
<
Shift
-
Button
-
4
>
"pdtk_canvas_scroll $name.c x -1"
bind
$
name
.
c
<
Shift
-
Button
-
5
>
"pdtk_canvas_scroll $name.c x +1"
bind
$
name
.
c
<
Control
-
Button
-
4
>
"pdtk_zoom $name 1"
bind
$
name
.
c
<
Control
-
Button
-
5
>
"pdtk_zoom $name -1"
if
{
$
k12_mode
==
0
}
{
bind
$
name
.
c
<
Control
-
Button
-
4
>
"pdtk_zoom $name 1"
bind
$
name
.
c
<
Control
-
Button
-
5
>
"pdtk_zoom $name -1"
}
}
default
{
bind
$
name
.
c
<
MouseWheel
>
\
"pdtk_canvas_scroll $name.c y \[expr -abs(%D)/%D\]"
...
...
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