Decreases value by step amount stopping at 0 :param step:
(self, step=None)
| 332 | self._do_update() |
| 333 | |
| 334 | def decrease_val(self, step=None): |
| 335 | ''' |
| 336 | Decreases value by step amount stopping at 0 |
| 337 | :param step: |
| 338 | ''' |
| 339 | if step is None: |
| 340 | step = self.val_step |
| 341 | |
| 342 | self.val = clamp(self.val - step, 0, 255) |
| 343 | |
| 344 | if self._check_update(): |
| 345 | self._do_update() |
| 346 | |
| 347 | def increase_ani(self): |
| 348 | ''' |
no test coverage detected