0HyperCube
599a9d076b
Transformation cage ( #502 )
...
* Render corners and edges of selection box
* Refactor
* Add drag detection
* Implement the transform handles
* Implement rotation by dragging <40px from bounds
* Refine clustered handle behaviour
* Add cursors
* Add snap angle
* Fix MMB drag whilst in select tool
* Convert calculate_pivot into a seperate function
* rename start_vec to start_offset
* Fix typo
* Remove Undo transaction on <10px mouse move
Co-authored-by: Keavon Chambers <keavon@keavon.com>
2022-02-04 16:46:44 +00:00
mfish33
96d3ef2650
Layout system implementation and applied to tool options bar ( #499 )
...
* initial layout system with tool options
* cargo fmt
* cargo fmt again
* document bar defined on the backend
* cargo fmt
* removed RC<RefCell>
* cargo fmt
* - fix increment behavior
- removed hashmap from layout message handler
- removed no op message from layoutMessage
* cargo fmt
* only send documentBar when zoom or rotation is updated
* ctrl-0 changes zoom properly
* Code review changes
Co-authored-by: Keavon Chambers <keavon@keavon.com>
2022-01-30 17:53:37 -08:00
0HyperCube
b17432b1c4
Add cursors and hints to global viewport navigation ( #487 )
...
* Add global nav cursors
* Update hints on global navigation
Co-authored-by: Keavon Chambers <keavon@keavon.com>
2022-01-16 19:46:41 +00:00
Keavon Chambers
56599db753
Tweak whitespace around `use` statements and other lint fixes
2022-01-15 12:55:51 -08:00
Keavon Chambers
e9e43eb79b
Modify all message enum data to use named struct values, not tuples ( #479 )
...
* Massively reorganize and clean up the whole Rust codebase
* Modify all message enum data to use named struct values, not tuples
2022-01-14 20:54:38 -08:00
Keavon Chambers
f48d4e1884
Massively reorganize and clean up the whole Rust codebase ( #478 )
...
* Massively reorganize and clean up the whole Rust codebase
* Additional changes during code review
2022-01-14 14:58:08 -08:00