fix: resize border
This commit is contained in:
parent
8795c506fa
commit
ad65416551
3 changed files with 3 additions and 3 deletions
2
iced
2
iced
|
|
@ -1 +1 @@
|
||||||
Subproject commit 40b6bfe9cabcaa932584f30f0710f8f69d6eb95d
|
Subproject commit fb1d5b2ed88f8e56b8637b777cedb135a04098d4
|
||||||
|
|
@ -72,7 +72,7 @@ pub(crate) fn iced_settings<App: Application>(
|
||||||
core.exit_on_main_window_closed = exit_on_close;
|
core.exit_on_main_window_closed = exit_on_close;
|
||||||
|
|
||||||
if let Some(border_size) = settings.resizable {
|
if let Some(border_size) = settings.resizable {
|
||||||
// window_settings.resize_border = border_size as u32;
|
window_settings.resize_border = border_size as u32;
|
||||||
window_settings.resizable = true;
|
window_settings.resizable = true;
|
||||||
}
|
}
|
||||||
window_settings.decorations = !settings.client_decorations;
|
window_settings.decorations = !settings.client_decorations;
|
||||||
|
|
|
||||||
|
|
@ -569,7 +569,7 @@ pub fn run<App: Application>(flags: App::Flags) -> iced::Result {
|
||||||
window_settings.decorations = false;
|
window_settings.decorations = false;
|
||||||
window_settings.exit_on_close_request = true;
|
window_settings.exit_on_close_request = true;
|
||||||
window_settings.resizable = false;
|
window_settings.resizable = false;
|
||||||
// window_settings.resize_border = 0;
|
window_settings.resize_border = 0;
|
||||||
|
|
||||||
// TODO make multi-window not mandatory
|
// TODO make multi-window not mandatory
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue