Add custom SVG cursors and update cursor handling
- Introduced new SVG cursor assets: cross, default, export, move, open, pen, and pointing. - Implemented SCSS styles for cursor usage in the scene container, defining specific cursors for different modes (draw, pointer, pen, measure, hand). - Enhanced cursor functionality by adding a utility function to handle canvas cursor changes based on user actions, mapping specific actions to corresponding cursor styles.
This commit is contained in:
@@ -45,4 +45,5 @@
|
||||
|
||||
//
|
||||
@use "./scene/scene";
|
||||
@use "./scene/comments";
|
||||
@use "./scene/comments";
|
||||
@use "./scene/cursors.scss";
|
||||
|
||||
Reference in New Issue
Block a user