Skip to content

Commit

Permalink
Merge branch 'master_jammy' of https://github.com/pop-os/cosmic-edit
Browse files Browse the repository at this point in the history
…into master_jammy
  • Loading branch information
jackpot51 committed Nov 15, 2023
2 parents b828047 + d24a250 commit b87fa0e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,14 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
};

let mut settings = Settings::default();
println!("{:?}", config.app_theme);
settings = settings.theme(config.app_theme.theme());

#[cfg(target_os = "redox")]
{
// Redox does not support resize if doing CSDs
settings = settings.client_decorations(false);
}

//TODO: allow size limits on iced_winit
//settings = settings.size_limits(Limits::NONE.min_width(400.0).min_height(200.0));

Expand Down

0 comments on commit b87fa0e

Please sign in to comment.