speed up split controls

This commit is contained in:
vcoppe
2025-11-16 16:46:31 +01:00
parent 09b8aa65fc
commit 6387580626
3 changed files with 119 additions and 133 deletions

View File

@@ -8,6 +8,7 @@ export enum MapCursorState {
TRACKPOINT_DRAGGING,
TOOL_WITH_CROSSHAIR,
SCISSORS,
SPLIT_CONTROL,
MAPILLARY_HOVER,
STREET_VIEW_CROSSHAIR,
}
@@ -20,6 +21,7 @@ const cursorStyles = {
[MapCursorState.TRACKPOINT_DRAGGING]: 'grabbing',
[MapCursorState.TOOL_WITH_CROSSHAIR]: 'crosshair',
[MapCursorState.SCISSORS]: scissorsCursor,
[MapCursorState.SPLIT_CONTROL]: 'pointer',
[MapCursorState.MAPILLARY_HOVER]: 'pointer',
[MapCursorState.STREET_VIEW_CROSSHAIR]: 'crosshair',
};