Skip to content

Commit

Permalink
Support blendModes with NineSlicePlane and CanvasRenderer (#4603)
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanpopelyshev authored and bigtimebuddy committed Jan 12, 2018
1 parent e924de8 commit c6c1e8b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/canvas/canvas-mesh/src/NineSlicePlane.js
Expand Up @@ -13,6 +13,7 @@ NineSlicePlane.prototype._renderCanvas = function _renderCanvas(renderer)
const context = renderer.context;

context.globalAlpha = this.worldAlpha;
renderer.setBlendMode(this.blendMode);

const transform = this.worldTransform;
const res = renderer.resolution;
Expand Down

0 comments on commit c6c1e8b

Please sign in to comment.