mirror of
https://github.com/niri-wm/niri.git
synced 2026-06-21 02:01:55 +07:00
config: Fix discrepancy in default shadow color
This commit is contained in:
@@ -350,7 +350,7 @@ impl Default for Shadow {
|
||||
softness: FloatOrInt(30.),
|
||||
spread: FloatOrInt(5.),
|
||||
draw_behind_window: false,
|
||||
color: Color::from_rgba8_unpremul(0, 0, 0, 0x70),
|
||||
color: Color::from_rgba8_unpremul(0, 0, 0, 0x77),
|
||||
inactive_color: None,
|
||||
}
|
||||
}
|
||||
|
||||
@@ -872,7 +872,7 @@ mod tests {
|
||||
r: 0.0,
|
||||
g: 0.0,
|
||||
b: 0.0,
|
||||
a: 0.4392157,
|
||||
a: 0.46666667,
|
||||
},
|
||||
inactive_color: None,
|
||||
},
|
||||
@@ -1844,9 +1844,6 @@ mod tests {
|
||||
+ },
|
||||
+ ],
|
||||
|
||||
- a: 0.4392157,
|
||||
+ a: 0.46666667,
|
||||
|
||||
- preset_column_widths: [],
|
||||
- default_column_width: None,
|
||||
+ preset_column_widths: [
|
||||
|
||||
Reference in New Issue
Block a user