Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
Samuel Oldham committed Sep 27, 2024
1 parent b718257 commit ac0f303
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions psst-gui/src/ui/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,7 @@ pub mod utils;
pub fn main_window(config: &Config) -> WindowDesc<AppState> {
let mut win = WindowDesc::new(root_widget(config))
.title(compute_main_window_title)
.show_title(false)
.transparent_titlebar(true);
.show_title(false);

if config.kiosk_mode {
win = win
Expand All @@ -64,7 +63,8 @@ pub fn main_window(config: &Config) -> WindowDesc<AppState> {
} else {
win = win
.window_size(config.window_size)
.with_min_size((theme::grid(65.0), theme::grid(50.0)));
.with_min_size((theme::grid(65.0), theme::grid(50.0)))
.transparent_titlebar(true);
}

if cfg!(target_os = "macos") {
Expand Down

0 comments on commit ac0f303

Please sign in to comment.