mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-26 20:43:19 +01:00
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:
1 parent
a53d901967
commit
5d8b0a94de
7 files changed
+27
-41
No files matched your search
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user