fix(header_bar): add vertical SSD padding
Prevents SSDs from having a gap after the rebase.
This commit is contained in:
parent
adb6e30405
commit
0bb006c5bb
1 changed files with 1 additions and 1 deletions
|
|
@ -394,7 +394,7 @@ impl<'a, Message: Clone + 'static> HeaderBar<'a, Message> {
|
||||||
end.push(self.window_controls(space_xxs));
|
end.push(self.window_controls(space_xxs));
|
||||||
|
|
||||||
let padding = if self.is_ssd {
|
let padding = if self.is_ssd {
|
||||||
[0, 8, 0, 8]
|
[2, 8, 2, 8]
|
||||||
} else {
|
} else {
|
||||||
match (
|
match (
|
||||||
self.density.unwrap_or_else(crate::config::header_size),
|
self.density.unwrap_or_else(crate::config::header_size),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue