fix(plot): correct style mode behavior (#874)

This commit is contained in:
Hakan Seven committed 2026-08-25 18:08:52 +03:00
commit 47612fd662
23 files changed
+108 -23

No files matched your search

+4
View File
@@ -478,6 +478,7 @@ pub(super) fn message_attribute(source: &str) -> Option<(&'static str, &'static
"By layer" => Some(("common", "by-layer")),
"By style" => Some(("properties", "by-style")),
"ByBlock" => Some(("common", "byblock")),
"ByColor" => Some(("common", "bycolor")),
"ByLayer" => Some(("common", "bylayer")),
"C++ Class" => Some(("properties", "c-class")),
"CAD application for Architecture & Engineering" => Some(("ui", "cad-application-for-architecture-engineering")),
@@ -618,6 +619,7 @@ pub(super) fn message_attribute(source: &str) -> Option<(&'static str, &'static
"Collapsed" => Some(("ui", "collapsed")),
"Collect Leaders" => Some(("annotate", "collect-leaders")),
"Color" => Some(("common", "color")),
"Color-dependent plot styles" => Some(("properties", "color-dependent-plot-styles")),
"Color 1" => Some(("properties", "color-1")),
"Color 2" => Some(("properties", "color-2")),
"Color Book" => Some(("properties", "color-book")),
@@ -1706,6 +1708,7 @@ pub(super) fn message_attribute(source: &str) -> Option<(&'static str, &'static
"Name:" => Some(("common", "name-label-title-case")),
"Named" => Some(("view", "named")),
"Named View" => Some(("properties", "named-view")),
"Named plot styles" => Some(("properties", "named-plot-styles")),
"Named views: {}" => Some(("layers", "named-views")),
"Navigate" => Some(("view", "navigate")),
"Nearest" => Some(("common", "nearest")),
@@ -1992,6 +1995,7 @@ pub(super) fn message_attribute(source: &str) -> Option<(&'static str, &'static
"Plot scale" => Some(("plot", "plot-scale")),
"Plot stamp" => Some(("plot", "plot-stamp")),
"Plot style" => Some(("common", "plot-style")),
"Plot style is locked to color in Color-Dependent (CTB) mode" => Some(("properties", "plot-style-is-locked-to-color-in-color-dependent")),
"Plot style '{}' loaded ({} color entries)." => Some(("common", "plot-style-loaded-color-entries")),
"Plot style ACI {aci} updated." => Some(("file", "plot-style-aci-aci-updated")),
"Plot style table" => Some(("properties", "plot-style-table")),