fix(nodes): improper style encapsulation

* import path in hooks.ts

Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
Braks
2021-12-20 19:29:52 +01:00
parent a983858acf
commit 6dcf5d8434
2 changed files with 6 additions and 2 deletions
+4 -1
View File
@@ -150,7 +150,10 @@ export default {
opacity:
store.dimensions.width !== 0 &&
store.dimensions.height !== 0 &&
(node.dimensions.width !== 0 && node.dimensions.height !== 0 ? 1 : 0),
node.dimensions.width !== 0 &&
node.dimensions.height !== 0
? 1
: 0,
...node.style,
}"
:data-id="node.id"