Status bar sort items: dim inactive items (#13682)
Some checks failed
macos / macOS 13 x86-64 🔨15.2 🎯10.15 (push) Has been cancelled
macos / macOS 14 ARM64 🔨15.4 🎯11.0 (push) Has been cancelled

This commit is contained in:
hius07
2025-04-26 19:56:23 +03:00
committed by GitHub
parent 043588cfbd
commit 48d50f76cf
2 changed files with 16 additions and 16 deletions

View File

@@ -89,6 +89,7 @@ function SortItemWidget:init()
text = self.item.text,
max_width = text_max_width,
face = self.item.face or self.face,
fgcolor = self.item.dim and Blitbuffer.COLOR_DARK_GRAY or nil,
},
self.show_parent.underscore_checked_item and item_checked and LineWidget:new{
dimen = Geom:new{ w = text_max_width, h = Size.line.thick },
@@ -288,6 +289,7 @@ function SortWidget:init()
local vertical_footer = VerticalGroup:new{
bottom_line,
self.page_info,
self.dimen.h < Screen:getHeight() and bottom_line or nil,
}
local footer = BottomContainer:new{
dimen = self.dimen:copy(),