From bc6f2623d98325f2f8a7577f3347e5650b5c2f73 Mon Sep 17 00:00:00 2001 From: ardocrat Date: Wed, 16 Aug 2023 04:40:19 +0300 Subject: [PATCH] ui: fix default stroke color and rounded box background --- src/gui/colors.rs | 2 +- src/gui/views/views.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/colors.rs b/src/gui/colors.rs index 6498553..208b991 100644 --- a/src/gui/colors.rs +++ b/src/gui/colors.rs @@ -33,7 +33,7 @@ impl Colors { pub const TITLE: Color32 = Color32::from_gray(60); pub const BUTTON: Color32 = Color32::from_gray(249); pub const GRAY: Color32 = Color32::from_gray(120); - pub const STROKE: Color32 = Color32::from_gray(190); + pub const STROKE: Color32 = Color32::from_gray(200); pub const INACTIVE_TEXT: Color32 = Color32::from_gray(150); pub const ITEM_BUTTON: Color32 = Color32::from_gray(90); pub const ITEM_STROKE: Color32 = Color32::from_gray(220); diff --git a/src/gui/views/views.rs b/src/gui/views/views.rs index b85716c..ec7a31b 100644 --- a/src/gui/views/views.rs +++ b/src/gui/views/views.rs @@ -323,7 +323,7 @@ impl View { sw: if r[2] { 8.0 } else { 0.0 }, se: if r[3] { 8.0 } else { 0.0 }, }, - fill: Colors::WHITE, + fill: Colors::TRANSPARENT, stroke: Self::ITEM_STROKE, }; let bg_idx = ui.painter().add(bg_shape);