Graphite/frontend/src
asyncth 0515cc4eca Set the mouse cursor in the canvas based on the current tool and its state (#480)
* Add FrontendMouseCursor and DisplayMouseCursor

* Add update_cursor method to the Fsm trait and implement it for all tools

* Rename DisplayMouseCursor to UpdateMouseCursor

* Add 'To CSS Cursor Property' transform decorator and change the mouse cursor in the canvas based on the current tool and its state

* Implement update_cursor for Navigate tool properly

* Keep the cursor when dragging outside of the canvas

* Change the mouse cursor to 'zoom-in' when LMB dragging on canvas with Navigate tool

* Rename FrontendMouseCursor to MouseCursorIcon

* Rename 'event' to 'e' and replace v-on with @

* Change the definition of the MouseCursorIcon type in TS

* Replace switch with dictionary look-up

* Move the definition of MouseCursorIcon closer to where it's used
2022-01-16 12:57:03 +05:00
..
components Set the mouse cursor in the canvas based on the current tool and its state (#480) 2022-01-16 12:57:03 +05:00
dispatcher Set the mouse cursor in the canvas based on the current tool and its state (#480) 2022-01-16 12:57:03 +05:00
lifetime Standardize FrontendMessage message names 2022-01-12 14:16:13 -08:00
state Standardize FrontendMessage message names 2022-01-12 14:16:13 -08:00
utilities Fix all remaining Vue/TS errors flagged in Volar 2022-01-15 17:24:58 -08:00
App.vue Add support for resizing workspace panels (#443) 2022-01-08 16:02:02 +00:00
TwoViewTest.vue Rework wasm initialization and reduce global state (#379) 2021-12-20 07:37:19 +01:00
main.ts Major frontend code cleanup (#452) 2022-01-02 06:00:02 -08:00
types.d.ts Improve web infrastructure 2021-08-26 19:20:38 -07:00