Skip to content

Commit 9a4a7de

Browse files
committed
Make auto-saving happen once per second
1 parent 8fad295 commit 9a4a7de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

editor/src/consts.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ pub const COLOR_OVERLAY_BLACK_75: &str = "#000000bf";
153153
pub const DEFAULT_DOCUMENT_NAME: &str = "Untitled Document";
154154
pub const FILE_SAVE_SUFFIX: &str = ".graphite";
155155
pub const MAX_UNDO_HISTORY_LEN: usize = 100; // TODO: Add this to user preferences
156-
pub const AUTO_SAVE_TIMEOUT_SECONDS: u64 = 15;
156+
pub const AUTO_SAVE_TIMEOUT_SECONDS: u64 = 1;
157157

158158
// INPUT
159159
pub const DOUBLE_CLICK_MILLISECONDS: u64 = 500;

0 commit comments

Comments
 (0)