refactor: remove unused parameter in set_base_style

This commit is contained in:
CJ van den Berg 2024-11-04 22:17:08 +01:00
parent 0a43fa853f
commit cfb9f8cf11
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9
25 changed files with 28 additions and 28 deletions

View file

@ -93,7 +93,7 @@ fn render_idle(self: *Self) bool {
pub fn render(self: *Self, theme: *const Widget.Theme) bool {
const frame = tracy.initZone(@src(), .{ .name = @typeName(@This()) ++ " render" });
defer frame.deinit();
self.plane.set_base_style(" ", if (self.hover) theme.statusbar_hover else theme.statusbar);
self.plane.set_base_style(if (self.hover) theme.statusbar_hover else theme.statusbar);
self.frame += 1;
if (self.frame - self.key_active_frame > self.wipe_after_frames)
self.unset_key_all();