mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-26 14:38:12 +08:00
Desktop: Hook up native window controls (#3161)
* Implement window controls * Fix drag target size * Maximize with drag area double click
This commit is contained in:
@@ -36,6 +36,8 @@ pub enum DesktopFrontendMessage {
|
||||
maximized: bool,
|
||||
minimized: bool,
|
||||
},
|
||||
DragWindow,
|
||||
CloseWindow,
|
||||
PersistenceWriteDocument {
|
||||
id: DocumentId,
|
||||
document: Document,
|
||||
@@ -55,7 +57,6 @@ pub enum DesktopFrontendMessage {
|
||||
preferences: Preferences,
|
||||
},
|
||||
PersistenceLoadPreferences,
|
||||
CloseWindow,
|
||||
}
|
||||
|
||||
pub enum DesktopWrapperMessage {
|
||||
|
||||
Reference in New Issue
Block a user