mirror of
https://code.gri.mw/GUI/grim.git
synced 2026-07-12 17:58:55 +00:00
ui: fix default stroke color and rounded box background
This commit is contained in:
+1
-1
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user