Пример #1
0
 def on_touch_move(self, touch):
     if touch.grab_current is self:
         self.uMoveType = u'move'
         Slider.on_touch_move(self, touch)
         self.UpdateButtonPos()
         return True
     else:
         return super(cSliderEx, self).on_touch_move(touch)
Пример #2
0
 def on_touch_move(self, touch):
     if touch.grab_current is self:
         self.uMoveType=u'move'
         Slider.on_touch_move(self,touch)
         self.UpdateButtonPos()
         return True
     else:
         return super(cSliderEx, self).on_touch_move(touch)
Пример #3
0
 def on_touch_move(self, touch) -> bool:
     if touch.grab_current is self and not Globals.oTheScreen.GuiIsBlocked(
     ):
         self.uMoveType = u'move'
         Slider.on_touch_move(self, touch)
         self.UpdateButtonPos()
         return True
     else:
         return super(cSliderEx, self).on_touch_move(touch)