(self)
| 144 | |
| 145 | @property |
| 146 | def max_behind(self) -> int: |
| 147 | if self._mode == FlashFilter.Mode.SUPPRESS: |
| 148 | return 0 |
| 149 | if self._filter_secs is not None: |
| 150 | # Estimate using 240fps so the event buffer is large enough for any reasonable input. |
| 151 | return math.ceil(self._filter_secs * 240.0) |
| 152 | return self._filter_length |
| 153 | |
| 154 | @property |
| 155 | def _is_disabled(self) -> bool: |
nothing calls this directly
no outgoing calls
no test coverage detected