fix(launcher): pin compact window size

This commit is contained in:
Brad Stein 2026-04-21 15:54:24 -03:00
parent a50560ccd1
commit a6b03cea34
4 changed files with 7 additions and 5 deletions

View File

@ -4,7 +4,7 @@ path = "src/main.rs"
[package]
name = "lesavka_client"
version = "0.11.39"
version = "0.11.40"
edition = "2024"
[dependencies]

View File

@ -109,8 +109,8 @@ pub struct LauncherView {
pub const LESAVKA_ICON_NAME: &str = "dev.lesavka.launcher";
const LESAVKA_ICON_SEARCH_PATH: &str = concat!(env!("CARGO_MANIFEST_DIR"), "/assets/icons");
const LAUNCHER_DEFAULT_WIDTH: i32 = 1380;
const LAUNCHER_DEFAULT_HEIGHT: i32 = 860;
const LAUNCHER_DEFAULT_WIDTH: i32 = 1188;
const LAUNCHER_DEFAULT_HEIGHT: i32 = 710;
const OPERATIONS_RAIL_WIDTH: i32 = 288;
const CAMERA_PREVIEW_VIEWPORT_HEIGHT: i32 = 72;
const CAMERA_PREVIEW_VIEWPORT_WIDTH: i32 = 128;
@ -127,7 +127,9 @@ pub fn build_launcher_view(
.title("Lesavka")
.default_width(LAUNCHER_DEFAULT_WIDTH)
.default_height(LAUNCHER_DEFAULT_HEIGHT)
.resizable(false)
.build();
window.set_size_request(LAUNCHER_DEFAULT_WIDTH, LAUNCHER_DEFAULT_HEIGHT);
install_css(&window);
install_window_icon(&window);

View File

@ -1,6 +1,6 @@
[package]
name = "lesavka_common"
version = "0.11.39"
version = "0.11.40"
edition = "2024"
build = "build.rs"

View File

@ -10,7 +10,7 @@ bench = false
[package]
name = "lesavka_server"
version = "0.11.39"
version = "0.11.40"
edition = "2024"
autobins = false