From 1dad11cedec4ddb5c19e146f17a7a5f10ab34c02 Mon Sep 17 00:00:00 2001 From: Artur Arseniev Date: Wed, 23 Aug 2023 10:49:17 +0400 Subject: [PATCH] fix setStyle --- src/domain_abstract/model/StyleableModel.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/domain_abstract/model/StyleableModel.ts b/src/domain_abstract/model/StyleableModel.ts index d878db6e2..9b14ac364 100644 --- a/src/domain_abstract/model/StyleableModel.ts +++ b/src/domain_abstract/model/StyleableModel.ts @@ -59,7 +59,7 @@ export default class StyleableModel extends Model const propOrig = this.getStyle(opts); - if (opts.partial) { + if (opts.partial || opts.avoidStore) { opts.avoidStore = true; prop.__p = true; } else {