mirror of
https://github.com/an-anime-team/an-anime-game-launcher.git
synced 2024-11-25 06:16:18 +03:00
Added devel
style to FirstRunApp
if it's debug mode
This commit is contained in:
parent
724ff90329
commit
50b69482d5
1 changed files with 5 additions and 0 deletions
|
@ -66,6 +66,11 @@ impl AppWidgets {
|
|||
result.carousel.append(&result.page_5.page);
|
||||
result.carousel.append(&result.page_6.page);
|
||||
|
||||
// Set devel style to ApplicationWindow if it's debug mode
|
||||
if crate::APP_DEBUG {
|
||||
result.window.add_css_class("devel");
|
||||
}
|
||||
|
||||
Ok(result)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue