Skip to content

Commit

Permalink
b/window: fix window size on non-100% scaling (#151)
Browse files Browse the repository at this point in the history
  • Loading branch information
xTVaser authored Apr 2, 2023
1 parent 9142957 commit 609028d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src-tauri/src/commands/window.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ pub async fn open_main_window(handle: tauri::AppHandle) -> Result<(), CommandErr
.visible(true)
.center()
.decorations(false)
.inner_size(800.0, 600.0)
.focused(true)
.build()
.map_err(|_| CommandError::WindowManagement(format!("Unable to create main launcher window")))?;
log::info!("Closing splash window");
Expand Down

0 comments on commit 609028d

Please sign in to comment.