mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
Made keyevent unbound when gridSize UI is on
This commit is contained in:
parent
97a1724005
commit
080a62753a
@ -458,9 +458,11 @@ class GridSizeUI(wx.Dialog):
|
||||
vbox.Add(okButton, 1, wx.ALIGN_CENTER | wx.TOP | wx.BOTTOM, 5)
|
||||
|
||||
self.SetSizer(vbox)
|
||||
base.le.ui.bindKeyEvents(False)
|
||||
|
||||
def onApply(self, evt):
|
||||
newSize = self.gridSizeSlider.GetValue()
|
||||
newSpacing = self.gridSpacingSlider.GetValue()
|
||||
self.parent.updateGrids(newSize, newSpacing)
|
||||
base.le.ui.bindKeyEvents(True)
|
||||
self.Destroy()
|
||||
|
Loading…
x
Reference in New Issue
Block a user