summaryrefslogtreecommitdiffstats
path: root/style
diff options
context:
space:
mode:
authorLibravatar Billy Messenger <BillyDM@tutamail.com>2021-08-12 09:57:59 -0500
committerLibravatar Billy Messenger <BillyDM@tutamail.com>2021-08-12 09:57:59 -0500
commit6c179379a0afaf03b22fb58badf5ba86e309d2db (patch)
tree0b31be3a6432b3d1ed525a269083a2dcdb4d058d /style
parent0f5242a728ea2b5853937ec5051e34c7d63c70bf (diff)
downloadiced-6c179379a0afaf03b22fb58badf5ba86e309d2db.tar.gz
iced-6c179379a0afaf03b22fb58badf5ba86e309d2db.tar.bz2
iced-6c179379a0afaf03b22fb58badf5ba86e309d2db.zip
tweak default rule style
Diffstat (limited to 'style')
-rw-r--r--style/src/rule.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/style/src/rule.rs b/style/src/rule.rs
index be4c86d1..221f48fb 100644
--- a/style/src/rule.rs
+++ b/style/src/rule.rs
@@ -82,10 +82,10 @@ pub struct Style {
impl std::default::Default for Style {
fn default() -> Self {
Style {
- color: [0.6, 0.6, 0.6, 0.51].into(),
+ color: [0.6, 0.6, 0.6, 0.6].into(),
width: 1,
radius: 0.0,
- fill_mode: FillMode::Percent(90.0),
+ fill_mode: FillMode::Full,
}
}
}