Skip to content

Commit

Permalink
Remove stray and duplicated call to request_window_properties()
Browse files Browse the repository at this point in the history
  • Loading branch information
tronical committed Nov 3, 2022
1 parent 4c8b985 commit a95504a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion internal/core/window.rs
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,6 @@ impl WindowInner {
self.mouse_input_state.replace(Default::default());
self.component.replace(ComponentRc::downgrade(component));
self.window_properties_tracker.set_dirty(); // component changed, layout constraints for sure must be re-calculated
self.window_adapter().request_window_properties_update();
let window_adapter = self.window_adapter();
window_adapter.request_window_properties_update();
window_adapter.request_redraw();
Expand Down

0 comments on commit a95504a

Please sign in to comment.