Commit b51b0545 authored by david's avatar david

fix: 加载页面去除Canvas绘制

parent d9c95781
......@@ -27,7 +27,7 @@ export abstract class middleLayerBase extends cc.Component {
const layout = cc.find('middleLayer/layout');
layout.removeAllChildren();
const canvas = cc.find("Canvas");
//const canvas = cc.find("Canvas");
//const bg = layout.addComponent(cc.Graphics);
//bg.fillRect(-canvas.width / 2, -canvas.height / 2, canvas.width, canvas.height);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment