Fixed that arrow keys on Windows would move between controls after first extruder movement.
parent
437f069921
commit
1db6d65e3c
|
@ -68,7 +68,7 @@ class BufferedCanvas(wx.Panel):
|
||||||
ID=-1,
|
ID=-1,
|
||||||
pos=wx.DefaultPosition,
|
pos=wx.DefaultPosition,
|
||||||
size=wx.DefaultSize,
|
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)
|
wx.Panel.__init__(self,parent,ID,pos,size,style)
|
||||||
|
|
||||||
# Bind events
|
# Bind events
|
||||||
|
|
|
@ -65,7 +65,6 @@ class XYButtons(BufferedCanvas):
|
||||||
self.concentric = self.keypad_idx
|
self.concentric = self.keypad_idx
|
||||||
x, y = self.getMovement()
|
x, y = self.getMovement()
|
||||||
self.moveCallback(x, y)
|
self.moveCallback(x, y)
|
||||||
evt.Skip()
|
|
||||||
|
|
||||||
|
|
||||||
def rotateKeypadIndex(self):
|
def rotateKeypadIndex(self):
|
||||||
|
|
Loading…
Reference in New Issue