mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
fix: allow to toggle between modes when view only mode to make UI consistent (#3009)
This commit is contained in:
parent
ecbd5ba55d
commit
b5fc8757a4
3 changed files with 14 additions and 6 deletions
|
@ -99,3 +99,9 @@ export const ZOOM_STEP = 0.1;
|
|||
export const IDLE_THRESHOLD = 60_000;
|
||||
// Report a user active each ACTIVE_THRESHOLD milliseconds
|
||||
export const ACTIVE_THRESHOLD = 3_000;
|
||||
|
||||
export const MODES = {
|
||||
VIEW: "viewMode",
|
||||
ZEN: "zenMode",
|
||||
GRID: "gridMode",
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue