mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-20 15:08:51 +00:00
Fix #4497. Drawing text annotations are now based on actual line breaks.
This commit is contained in:
@@ -606,7 +606,7 @@ class BaseDecorator:
|
|||||||
for literal_data in literals_data:
|
for literal_data in literals_data:
|
||||||
box_alignment = literal_data["BoxAlignment"]
|
box_alignment = literal_data["BoxAlignment"]
|
||||||
|
|
||||||
for line in literal_data["CurrentValue"].split("\\n"):
|
for line in literal_data["CurrentValue"].split("\n"):
|
||||||
self.draw_label(
|
self.draw_label(
|
||||||
context,
|
context,
|
||||||
line,
|
line,
|
||||||
|
|||||||
Reference in New Issue
Block a user