diff options
| author | Brooks Rady <b.j.rady@gmail.com> | 2022-03-22 14:58:16 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-03-22 14:58:16 +0000 |
| commit | 9bfafde12348623e2a5d1513ba0928e15d441efd (patch) | |
| tree | eced3310a2b8102189ae55e984104a94bed8a510 /default-plugins/status-bar/src/first_line.rs | |
| parent | fix: cargo issue (#1253) (diff) | |
| download | sl0ppij-9bfafde12348623e2a5d1513ba0928e15d441efd.tar.gz sl0ppij-9bfafde12348623e2a5d1513ba0928e15d441efd.tar.xz sl0ppij-9bfafde12348623e2a5d1513ba0928e15d441efd.zip | |
feat(ui): round frame corners (#1227)
* feat(ui): round frame corners
* Allow rounded_corners to be set without a palette
* Revert "Allow rounded_corners to be set without a palette"
This reverts commit 9271a4b5452f2e59e0ebd55136343f0fbfabaa13.
* fix(style): remove redundant code
* fix(style): clippy lints that somehow got missed
* feat(config): add ui config section
Diffstat (limited to 'default-plugins/status-bar/src/first_line.rs')
| -rw-r--r-- | default-plugins/status-bar/src/first_line.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/default-plugins/status-bar/src/first_line.rs b/default-plugins/status-bar/src/first_line.rs index ed67e5cc..7ca0b0fb 100644 --- a/default-plugins/status-bar/src/first_line.rs +++ b/default-plugins/status-bar/src/first_line.rs @@ -247,7 +247,7 @@ pub fn superkey(palette: ColoredElements, separator: &str) -> LinePart { } pub fn ctrl_keys(help: &ModeInfo, max_len: usize, separator: &str) -> LinePart { - let colored_elements = color_elements(help.palette); + let colored_elements = color_elements(help.style.colors); match &help.mode { InputMode::Locked => key_indicators( max_len, |
