forked from 1b-agent/opencadstudio-upstream
Improve graphic attribute handling for open boundaries and varied values
This commit is contained in:
1 parent
abef285cc6
commit
85e2dda6ba
5 files changed
+427
-75
No files matched your search
@@ -55,6 +55,9 @@ pub fn linetype_display_name(name: &str) -> String {
|
||||
|
||||
impl fmt::Display for LinetypeItem {
|
||||
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
|
||||
if self.name.is_empty() && !self.art.is_empty() {
|
||||
return f.write_str(&self.art);
|
||||
}
|
||||
let name = linetype_display_name(&self.name);
|
||||
if self.art.is_empty() {
|
||||
write!(f, "{name}")
|
||||
|
||||
Reference in new issue
Block a user