Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion Assets/stylesheet.css
Original file line number Diff line number Diff line change
Expand Up @@ -271,8 +271,16 @@ TableRowView:nth-child(even) TableCellView {
background-color: #ffffff11;
}

/* Sentinel, not a real color: `View::applyTheme` only calls `applyStyle` when the computed CSS
attribute set actually changes (an equality check, for perf) -- without SOME attribute here
that differs between selected/unselected, toggling :selected changes nothing CSS can see, and
TableRowView's computed default (base color + 25 per RGB channel, see TableRowView.c) never
gets a chance to run. `none` is a real, explicit inlet value that `bindColor` deliberately
leaves untouched (see its "none" case), so this is purely a change-detection trigger; it does
not itself paint anything. A real `TableRowView:selected { background-color: X }` rule in an
app's own stylesheet still fully overrides the computed default, same as before. */
TableRowView:selected {
background-color: darkgray;
background-color: none;
}

TableView > ScrollView > .contentView {
Expand Down
Loading
Loading