Removed a line of dead code and renamed "ReseetPoint" to "ClearPoint".

This commit is contained in:
tom surace
2016-11-07 09:50:33 -07:00
parent 0c9269c07e
commit 5da4bc6c57
2 changed files with 1 additions and 2 deletions

View File

@@ -442,7 +442,6 @@ class PyColourChooser(wx.Panel):
def onScroll(self, event):
"""Updates the display to reflect the new "Value"."""
value = self.slider.GetValue()
colour = self.colour_slider.GetValue(value)
colour = self.getColourFromControls()
self.solid.SetColour(colour)
self.UpdateEntries(colour)

View File

@@ -157,7 +157,7 @@ class PyPalette(canvas.Canvas):
self.point = (x, y)
self.ReDraw()
def ReseetPoint(self):
def ClearPoint(self):
self.point = None
def GeneratePaletteBMP(self, file_name, granularity=1):