summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón <hector0193@gmail.com>2021-08-13 19:47:32 +0700
committerLibravatar GitHub <noreply@github.com>2021-08-13 19:47:32 +0700
commit187413b4521bc13e270919b2bc101b83d8397956 (patch)
tree0b31be3a6432b3d1ed525a269083a2dcdb4d058d
parent0f5242a728ea2b5853937ec5051e34c7d63c70bf (diff)
parent6c179379a0afaf03b22fb58badf5ba86e309d2db (diff)
downloadiced-187413b4521bc13e270919b2bc101b83d8397956.tar.gz
iced-187413b4521bc13e270919b2bc101b83d8397956.tar.bz2
iced-187413b4521bc13e270919b2bc101b83d8397956.zip
Merge pull request #994 from BillyDM/master
tweak default rule 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,
}
}
}