Skip to content

Commit dc12c79

Browse files
committed
Fix set text on shape dialogs
1 parent 11655ca commit dc12c79

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

modules/ILL/ILL.moon

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module_version = "1.5.5"
1+
module_version = "1.5.7"
22

33
haveDepCtrl, DependencyControl = pcall require, "l0.DependencyControl"
44

modules/ILL/ILL/Ass/Ass.moon

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,10 @@ class Ass
180180
copyInstance = Table.copy l.text
181181
l.text = l.text\__tostring!
182182
return copyInstance
183+
elseif l.isShape and Util.checkClass l.text, "Text"
184+
copyInstance = Table.copy l.text
185+
l.text = l.text\__tostring!
186+
return copyInstance
183187
elseif l.tags
184188
local tags
185189
if Util.checkClass l.tags, "Tags"

0 commit comments

Comments
 (0)