cellOptions
Parameters
- self:*const HoveredRow
- *const HoveredRow
- cell:Cell
- Cell
Source
Implementation
pub fn cellOptions(self: *const HoveredRow, cell: Cell) CellOptions {
const highlighted_row = self.highlighted_row orelse return self.cell_opts;
if (cell.row_num != highlighted_row) return self.cell_opts;
return self.cell_opts.override(.{ .color_fill = self.cell_opts.color_fill_hover });
}