diff --git a/crates/dtmm/src/main_window.rs b/crates/dtmm/src/main_window.rs index a8b1e71..0284dd5 100644 --- a/crates/dtmm/src/main_window.rs +++ b/crates/dtmm/src/main_window.rs @@ -10,14 +10,13 @@ use crate::theme; use crate::widget::ExtraWidgetExt; const TITLE: &str = "Darktide Mod Manager"; -const WINDOW_WIDTH: f64 = 800.0; -const WINDOW_HEIGHT: f64 = 600.0; +const WINDOW_SIZE: (f64, f64) = (800.0, 600.0); const MOD_DETAILS_MIN_WIDTH: f64 = 325.0; pub(crate) fn new() -> WindowDesc { WindowDesc::new(build_window()) .title(TITLE) - .window_size((WINDOW_WIDTH, WINDOW_HEIGHT)) + .window_size(WINDOW_SIZE) } fn build_top_bar() -> impl Widget {