fix: remove nodes in debug mode
This commit is contained in:
parent
fa90d8923b
commit
301a290ebb
|
@ -153,9 +153,9 @@ export default class CanvasRenderer extends RenderingManager {
|
|||
this.ctx.setTransform(xScale, 0, 0, yScale, (node.position.x - this.origin.x)*this.zoom, (node.position.y - this.origin.y)*this.zoom);
|
||||
this.ctx.rotate(-node.rotation);
|
||||
let globalAlpha = this.ctx.globalAlpha;
|
||||
if(node instanceof Rect){
|
||||
Debug.log("node" + node.id, "Node" + node.id + " Alpha: " + node.alpha);
|
||||
}
|
||||
// if(node instanceof Rect){
|
||||
// Debug.log("node" + node.id, "Node" + node.id + " Alpha: " + node.alpha);
|
||||
// }
|
||||
this.ctx.globalAlpha = node.alpha;
|
||||
|
||||
if(node instanceof AnimatedSprite){
|
||||
|
|
Loading…
Reference in New Issue
Block a user