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
1db6d65e
Commit
1db6d65e
authored
Nov 08, 2011
by
Duane Johnson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed that arrow keys on Windows would move between controls after first extruder movement.
parent
437f0699
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
bufferedcanvas.py
bufferedcanvas.py
+1
-1
xybuttons.py
xybuttons.py
+1
-2
No files found.
bufferedcanvas.py
View file @
1db6d65e
...
...
@@ -68,7 +68,7 @@ class BufferedCanvas(wx.Panel):
ID
=-
1
,
pos
=
wx
.
DefaultPosition
,
size
=
wx
.
DefaultSize
,
style
=
wx
.
NO_FULL_REPAINT_ON_RESIZE
):
style
=
wx
.
NO_FULL_REPAINT_ON_RESIZE
|
wx
.
WANTS_CHARS
):
wx
.
Panel
.
__init__
(
self
,
parent
,
ID
,
pos
,
size
,
style
)
# Bind events
...
...
xybuttons.py
View file @
1db6d65e
...
...
@@ -42,7 +42,7 @@ class XYButtons(BufferedCanvas):
def
onTopLevelKey
(
self
,
evt
):
# Let user press escape on any control, and return focus here
if
evt
.
GetKeyCode
()
==
wx
.
WXK_ESCAPE
:
self
.
SetFocus
()
self
.
SetFocus
()
evt
.
Skip
()
def
onKey
(
self
,
evt
):
...
...
@@ -65,7 +65,6 @@ class XYButtons(BufferedCanvas):
self
.
concentric
=
self
.
keypad_idx
x
,
y
=
self
.
getMovement
()
self
.
moveCallback
(
x
,
y
)
evt
.
Skip
()
def
rotateKeypadIndex
(
self
):
...
...
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