mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-10-02 12:58:12 +08:00
Replace globals with editor environment (#3656)
Co-authored-by: Keavon Chambers <keavon@keavon.com>
This commit is contained in:
@@ -109,7 +109,6 @@ pub enum DesktopWrapperMessage {
|
||||
content: Vec<u8>,
|
||||
},
|
||||
PollNodeGraphEvaluation,
|
||||
UpdatePlatform(Platform),
|
||||
UpdateMaximized {
|
||||
maximized: bool,
|
||||
},
|
||||
@@ -163,12 +162,6 @@ pub enum SaveFileDialogContext {
|
||||
File { content: Vec<u8> },
|
||||
}
|
||||
|
||||
pub enum Platform {
|
||||
Windows,
|
||||
Mac,
|
||||
Linux,
|
||||
}
|
||||
|
||||
pub enum MenuItem {
|
||||
Action {
|
||||
id: String,
|
||||
|
||||
Reference in New Issue
Block a user