Skip to content

Commit

Permalink
optimize code
Browse files Browse the repository at this point in the history
  • Loading branch information
DreamMaoMao committed Nov 7, 2024
1 parent 865af17 commit 7af7d47
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/wm/src/app_command.rs
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,8 @@ impl InvokeCommand {
)?;

if width.is_some() || height.is_some() {
set_window_size(window.clone(),
set_window_size(
window.clone(),
width.clone(),
height.clone(),
state,
Expand Down

0 comments on commit 7af7d47

Please sign in to comment.