mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-25 08:08:11 +08:00
Refactor persistence to combine document handling and workspace layout (#4031)
* Unify editor state persistence * Review * Fix * Remove redundant DocumentDetails * LoadDocumentContent indirection
This commit is contained in:
+3
-1
@@ -20,7 +20,6 @@ mod persist;
|
||||
mod preferences;
|
||||
mod render;
|
||||
mod window;
|
||||
mod workspace_layout;
|
||||
|
||||
pub(crate) mod consts;
|
||||
|
||||
@@ -65,6 +64,9 @@ pub fn start() {
|
||||
|
||||
dirs::app_tmp_dir_cleanup();
|
||||
|
||||
// TODO: Eventually remove this cleanup code for the old "browser" CEF directory
|
||||
dirs::delete_old_cef_browser_directory();
|
||||
|
||||
let prefs = preferences::read();
|
||||
|
||||
// Must be called before event loop initialization or native window integrations will break
|
||||
|
||||
Reference in New Issue
Block a user