diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx b/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx index f7c1bedbb..3ebbe0046 100644 --- a/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx +++ b/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx @@ -266,8 +266,8 @@ export class CollectionFreeFormView extends CollectionSubView(PanZoomDocument) { if (!(ruleProvider instanceof Doc)) ruleProvider = this.props.Document; let col = StrCast(ruleProvider["ruleColor_" + NumCast(newBox.heading)]); let round = StrCast(ruleProvider["ruleRounding_" + NumCast(newBox.heading)]); - round && (newBox.borderRounding = round); - col && (newBox.backgroundColor = col); + round && (Doc.GetProto(newBox).borderRounding = round); + col && (Doc.GetProto(newBox).backgroundColor = col); newBox.ruleProvider = ruleProvider; this.addDocument(newBox, false); } |