mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-22 14:58:11 +08:00
Desktop: Fix missing resize events causing all-gray window on Mac after launch (#3445)
* okayish solution should be improved at some point but for now it works well enough. * do leftover renames * better solution * less weird resize frames * move surface reconfiguration * fix recent desktop mac breakages * better looking resize on mac * fix background color * Fix blank screen on window initialization * cleanup --------- Co-authored-by: Keavon Chambers <keavon@keavon.com>
This commit is contained in:
@@ -111,10 +111,7 @@ pub(super) fn intercept_frontend_message(dispatcher: &mut DesktopWrapperMessageD
|
||||
dispatcher.respond(DesktopFrontendMessage::PersistenceLoadPreferences);
|
||||
}
|
||||
#[cfg(target_os = "macos")]
|
||||
FrontendMessage::UpdateMenuBarLayout {
|
||||
layout_target: graphite_editor::messages::tool::tool_messages::tool_prelude::LayoutTarget::MenuBar,
|
||||
diff,
|
||||
} => {
|
||||
FrontendMessage::UpdateMenuBarLayout { diff } => {
|
||||
use graphite_editor::messages::tool::tool_messages::tool_prelude::{DiffUpdate, WidgetDiff};
|
||||
match diff.as_slice() {
|
||||
[
|
||||
|
||||
Reference in New Issue
Block a user