Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SDL_Viewer: contouring: debounce mouse clicks.
Previously, almost all mouse click events would be duplicated. This caused brush strokes to be applied in duplicate, which has implications for the geometric accuracy of some brushes and sweeps. This commit adds a mouse debounce. The old behaviour can still be accomplished with repeated mouse clicks, or holding down a mouse button for a small, but deliberate, amount of time.
- Loading branch information
Hal Clark
committed
Jan 30, 2024
1 parent
bf972d9
commit 9c675d8
Showing
1 changed file
with
106 additions
and
89 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters