changed default values

This commit is contained in:
Csaba
2024-11-09 01:25:59 +01:00
parent ec5f7dc82d
commit 12117b832b
2 changed files with 5 additions and 4 deletions

View File

@@ -312,6 +312,7 @@ impl Komobar {
self.komorebi_notification_state = komorebi_notification_state;
}
pub fn new(
cc: &eframe::CreationContext<'_>,
rx_gui: Receiver<komorebi_client::Notification>,

View File

@@ -40,11 +40,11 @@ impl Grouping {
})
.inner_margin(match config.inner_margin {
Some(margin) => Self::rect_to_margin(margin),
None => Margin::symmetric(7.0, 2.0),
None => Margin::symmetric(5.0, 2.0),
})
.rounding(match config.rounding {
Some(rounding) => rounding.into(),
None => Rounding::same(10.0),
None => Rounding::same(5.0),
})
.stroke(match config.stroke {
Some(line) => line.into(),
@@ -83,11 +83,11 @@ impl Grouping {
})
.inner_margin(match config.inner_margin {
Some(margin) => Self::rect_to_margin(margin),
None => Margin::symmetric(7.0, 2.0),
None => Margin::symmetric(5.0, 2.0),
})
.rounding(match config.rounding {
Some(rounding) => rounding.into(),
None => Rounding::same(10.0),
None => Rounding::same(5.0),
})
.stroke(match config.stroke {
Some(line) => line.into(),