Drop x marks on various actions

This commit is contained in:
DarkPhoenix
2019-08-15 17:40:29 +03:00
parent be07a4735c
commit 98f0766425
2 changed files with 6 additions and 0 deletions

View File

@@ -284,11 +284,13 @@ class GraphControlPanel(wx.Panel):
def OnYTypeUpdate(self, event):
event.Skip()
self.graphFrame.resetXMark()
self.graphFrame.draw()
def OnXTypeUpdate(self, event):
event.Skip()
self._updateInputs()
self.graphFrame.resetXMark()
self.graphFrame.Layout()
self.graphFrame.UpdateWindowSize()
self.graphFrame.draw()