Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
P
Printrun
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
machinery
Printrun
Commits
dc9cd711
Commit
dc9cd711
authored
Jun 26, 2011
by
Keegi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
reversed layerup/layerdown direction on shift-mousewheel
parent
3e69e353
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
gviz.py
gviz.py
+2
-2
No files found.
gviz.py
View file @
dc9cd711
...
...
@@ -25,8 +25,8 @@ class window(wx.Frame):
def
zoom
(
self
,
event
):
z
=
event
.
GetWheelRotation
()
if
event
.
ShiftDown
():
if
z
>
0
:
self
.
p
.
layer
up
()
elif
z
<
0
:
self
.
p
.
layer
down
()
if
z
>
0
:
self
.
p
.
layer
down
()
elif
z
<
0
:
self
.
p
.
layer
up
()
else
:
if
z
>
0
:
self
.
p
.
zoom
(
event
.
GetX
(),
event
.
GetY
(),
1.2
)
elif
z
<
0
:
self
.
p
.
zoom
(
event
.
GetX
(),
event
.
GetY
(),
1
/
1.2
)
...
...
Write
Preview
Markdown
is supported
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