Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Standard operators don't work well for imprecise floating-point numbers. For example, zooming out from an almost-minimum zoom factor, then zooming in to the default zoom factor does not disable the zoomBase (Normal Size) action. Replacing '<' and '>' with fuzzy inequality works, because the code above clamps zoomFactor into [minZoomFactor, maxZoomFactor].
- Loading branch information