Skip to content

Commit 793505c

Browse files
author
Julien
committed
style(sdk): remove duplicate condition
1 parent e817b29 commit 793505c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

engine/modules/entities/src/main/resources/view/entity-module/RoundedRectangle.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,11 @@ export class RoundedRectangle extends Shape {
2626
super.updateDisplay(state, changed, globalData)
2727
if (changed.lineWidth ||
2828
changed.lineColor ||
29-
changed.width ||
30-
changed.height ||
3129
changed.lineAlpha ||
3230
changed.fillColor ||
3331
changed.radius ||
34-
changed.fillColor) {
32+
changed.height ||
33+
changed.width) {
3534
this.graphics.clear()
3635
if (state.fillColor !== null) {
3736
this.graphics.beginFill(state.fillColor, state.fillAlpha)

0 commit comments

Comments
 (0)