Hand-stroked dividers and edges use the rule painter

The split button's divider, the timeline track header's divider and the table
outline and grid header edges paint through Draw::rule and Draw::rule_with, the
one pixel-snapped line, instead of their own strokes.
This commit is contained in:
aiongg committed 2026-11-12 14:32:41 +00:00
1 parent a53d901967
commit 5d8b0a94de
7 files changed
+27 -41

No files matched your search

+2 -2
View File
@@ -118,8 +118,8 @@ pub struct CellGridStyle {
pub(crate) background: StyleColor,
pub(crate) header: Stateful<StyleColor>,
pub(crate) header_text: Stateful<StyleColor>,
pub(crate) gridline: StyleColor,
pub(crate) header_line: StyleColor,
/// The line along the frozen panes' edge.
pub(crate) freeze_line: StyleColor,
pub(crate) accent: StyleColor,
pub(crate) preview: StyleColor,
pub(crate) selection: StyleColor,