Commit e39aa2a
Enhance the Navigate Tool zoom behavior (#461)
* Snap zoom
* Navigate zoom from centre
* Ctrl to snap zoom in navigate
* Use ctrl for global snap rotate
* Fix the rotation input on snap rotate
* Update hint to use ctrl
* Fix mouse centre on drag
* Click to zoom in
* Clean up centre zoom
* Update user input hints; tweak some variable names for clarity and standardization
Co-authored-by: Keavon Chambers <[email protected]>1 parent 26da229 commit e39aa2a
File tree
5 files changed
+250
-145
lines changed- editor/src
- document
- input
- tool/tools
- frontend/wasm/src
5 files changed
+250
-145
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
859 | 859 | | |
860 | 860 | | |
861 | 861 | | |
862 | | - | |
863 | | - | |
864 | | - | |
| 862 | + | |
| 863 | + | |
865 | 864 | | |
866 | 865 | | |
867 | 866 | | |
| |||
872 | 871 | | |
873 | 872 | | |
874 | 873 | | |
875 | | - | |
| 874 | + | |
876 | 875 | | |
877 | | - | |
| 876 | + | |
878 | 877 | | |
879 | 878 | | |
880 | 879 | | |
| |||
0 commit comments