Skip to content

Commit

Permalink
fix(web): include single selection to the selection mode (#643)
Browse files Browse the repository at this point in the history
  • Loading branch information
keiya01 authored Aug 28, 2023
1 parent 8731044 commit 864d09a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion web/src/beta/lib/core/Crust/interactionMode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ export type InteractionModeType = "default" | "move" | "selection" | "sketch";
export const INTERACTION_MODES: Record<InteractionModeType, number> = {
default: FEATURE_FLAGS.CAMERA_MOVE | FEATURE_FLAGS.CAMERA_ZOOM | FEATURE_FLAGS.SINGLE_SELECTION,
move: FEATURE_FLAGS.CAMERA_MOVE | FEATURE_FLAGS.CAMERA_ZOOM,
selection: FEATURE_FLAGS.MULTIPLE_SELECTION | FEATURE_FLAGS.CAMERA_ZOOM,
selection:
FEATURE_FLAGS.SINGLE_SELECTION | FEATURE_FLAGS.MULTIPLE_SELECTION | FEATURE_FLAGS.CAMERA_ZOOM,
sketch: FEATURE_FLAGS.SKETCH | FEATURE_FLAGS.CAMERA_ZOOM,
};

0 comments on commit 864d09a

Please sign in to comment.