mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-27 03:38:13 +08:00
Make auto-saving happen once per second
This commit is contained in:
@@ -153,7 +153,7 @@ pub const COLOR_OVERLAY_BLACK_75: &str = "#000000bf";
|
|||||||
pub const DEFAULT_DOCUMENT_NAME: &str = "Untitled Document";
|
pub const DEFAULT_DOCUMENT_NAME: &str = "Untitled Document";
|
||||||
pub const FILE_SAVE_SUFFIX: &str = ".graphite";
|
pub const FILE_SAVE_SUFFIX: &str = ".graphite";
|
||||||
pub const MAX_UNDO_HISTORY_LEN: usize = 100; // TODO: Add this to user preferences
|
pub const MAX_UNDO_HISTORY_LEN: usize = 100; // TODO: Add this to user preferences
|
||||||
pub const AUTO_SAVE_TIMEOUT_SECONDS: u64 = 15;
|
pub const AUTO_SAVE_TIMEOUT_SECONDS: u64 = 1;
|
||||||
|
|
||||||
// INPUT
|
// INPUT
|
||||||
pub const DOUBLE_CLICK_MILLISECONDS: u64 = 500;
|
pub const DOUBLE_CLICK_MILLISECONDS: u64 = 500;
|
||||||
|
|||||||
Reference in New Issue
Block a user