Revert "Gauges now imitates ballz falling on teh floor"

This reverts commit 3572ed85b2.
This commit is contained in:
cncfanatics
2010-08-30 18:30:34 +02:00
parent 3be1da620e
commit bb3f88f905

View File

@@ -51,7 +51,7 @@ class PyGauge(wx.PyWindow):
self._timerOver = None
self._oldValue = 0
self._timerOn = 0
self._animDuration = 500
self._animDuration = 300
self._animStep = 0
self._period = 25
self._animValue = 0
@@ -322,7 +322,7 @@ class PyGauge(wx.PyWindow):
start = 0
end = oldValue - value
step=self.OUT_BOUNCE(self._animStep, start, end, self._animDuration)
step=self.OUT_QUAD(self._animStep, start, end, self._animDuration)
self._animStep += self._period
if self._timerId == event.GetId() and self._overdriveTimerId != event.GetId():