feat(plotstyle): improve CTB editor workflow

This commit is contained in:
gianlucafiore committed 2026-08-10 19:09:40 -03:00
1 parent 22a294c705
commit e2e4bfdcd4
9 files changed
+271 -48

No files matched your search

+1 -1
View File
@@ -92,7 +92,7 @@ pub fn color_display_name(c: AcadColor) -> String {
}
/// A small colour square.
fn swatch<'a>(bg: Color) -> Element<'a, Message> {
pub fn swatch<'a>(bg: Color) -> Element<'a, Message> {
container(text("").width(13).height(13))
.style(move |theme: &Theme| container::Style {
background: Some(Background::Color(bg)),