Use 85% opacity by default
This commit is contained in:
parent
a46c5e8219
commit
2193003ada
4 changed files with 22 additions and 18 deletions
|
|
@ -98,7 +98,9 @@ impl cosmic::Application for App {
|
|||
}
|
||||
|
||||
/// Creates the application, and optionally emits command on initialize.
|
||||
fn init(core: Core, term_config: Self::Flags) -> (Self, Command<Self::Message>) {
|
||||
fn init(mut core: Core, term_config: Self::Flags) -> (Self, Command<Self::Message>) {
|
||||
core.window.content_container = false;
|
||||
|
||||
let mut app = App {
|
||||
core,
|
||||
tab_model: segmented_button::ModelBuilder::default().build(),
|
||||
|
|
|
|||
|
|
@ -220,7 +220,7 @@ where
|
|||
background_color.r() as f32 / 255.0,
|
||||
background_color.g() as f32 / 255.0,
|
||||
background_color.b() as f32 / 255.0,
|
||||
background_color.a() as f32 / 255.0,
|
||||
0.85, /* background_color.a() as f32 / 255.0 */
|
||||
),
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue