mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-27 15:08:13 +08:00
Desktop: Fix missing taskbar icon on Windows (#3490)
* fix missing taskbar icon * focus window after init
This commit is contained in:
@@ -456,6 +456,10 @@ impl ApplicationHandler for App {
|
||||
let render_state = RenderState::new(self.window.as_ref().unwrap(), self.wgpu_context.clone());
|
||||
self.render_state = Some(render_state);
|
||||
|
||||
if let Some(window) = &self.window.as_ref() {
|
||||
window.show();
|
||||
}
|
||||
|
||||
self.resize();
|
||||
|
||||
self.desktop_wrapper.init(self.wgpu_context.clone());
|
||||
|
||||
Reference in New Issue
Block a user