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 /zellij-server/src/route.rs | |
parent | 2d55a3e274f1fc13d7adf8a1574188498efae82c (diff) |
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 'zellij-server/src/route.rs')
-rw-r--r-- | zellij-server/src/route.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/zellij-server/src/route.rs b/zellij-server/src/route.rs index 033a571b3..e5489818a 100644 --- a/zellij-server/src/route.rs +++ b/zellij-server/src/route.rs @@ -66,7 +66,7 @@ fn route_action( .unwrap(); } Action::SwitchToMode(mode) => { - let palette = session.palette; + let style = session.style; // TODO: use the palette from the client and remove it from the server os api // this is left here as a stop gap measure until we shift some code around // to allow for this @@ -75,13 +75,13 @@ fn route_action( .send_to_plugin(PluginInstruction::Update( None, Some(client_id), - Event::ModeUpdate(get_mode_info(mode, palette, session.capabilities)), + Event::ModeUpdate(get_mode_info(mode, style, session.capabilities)), )) .unwrap(); session .senders .send_to_screen(ScreenInstruction::ChangeMode( - get_mode_info(mode, palette, session.capabilities), + get_mode_info(mode, style, session.capabilities), client_id, )) .unwrap(); |