Apply and edit drawing current transparency

This commit is contained in:
ramox81 committed 2026-09-11 11:06:52 +03:00
1 parent 6e74cc48d8
commit b24feab498
8 files changed
+72 -8

No files matched your search

+2
View File
@@ -2671,6 +2671,8 @@ impl Scene {
if let Some((color, transparency)) = entity_style {
entity.common_mut().color = color;
entity.common_mut().transparency = transparency;
} else {
entity.common_mut().transparency = self.document.current_entity_transparency();
}
self.add_entity(entity)