Skip to content

Commit

Permalink
feat: fullscreen indicator in current tab
Browse files Browse the repository at this point in the history
  • Loading branch information
cristiand391 committed Dec 26, 2023
1 parent 0f3799d commit 062202b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/tab.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,11 @@ pub fn render_tab(
ThemeHue::Light => palette.black,
};
let background_color = if tab.active {
palette.green
if tab.is_fullscreen_active {
palette.orange
} else {
palette.green
}
} else if is_alternate_tab {
alternate_tab_color
} else {
Expand Down

0 comments on commit 062202b

Please sign in to comment.