We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 891bda3 commit ca4f771Copy full SHA for ca4f771
engine/modules/entities/src/main/resources/view/entity-module/Shape.js
@@ -25,7 +25,8 @@ export class Shape extends Entity {
25
lineWidth: Shape.defaultLineWidth(),
26
lineColor: Shape.defaultLineColor(),
27
fillAlpha: Shape.defaultFillAlpha(),
28
- lineAlpha: Shape.defaultLineAlpha()
+ lineAlpha: Shape.defaultLineAlpha(),
29
+ blendMode: PIXI.BLEND_MODES.NORMAL
30
})
31
}
32
@@ -40,5 +41,6 @@ export class Shape extends Entity {
40
41
42
updateDisplay (state, changed, globalData) {
43
super.updateDisplay(state, changed, globalData)
44
+ this.graphics.blendMode = state.blendMode
45
46
0 commit comments