Commit d9c95781 authored by david's avatar david

fix: 加载页面去除背景绘制

parent 9920963b
......@@ -28,8 +28,8 @@ export abstract class middleLayerBase extends cc.Component {
layout.removeAllChildren();
const canvas = cc.find("Canvas");
const bg = layout.addComponent(cc.Graphics);
bg.fillRect(-canvas.width / 2, -canvas.height / 2, canvas.width, canvas.height);
//const bg = layout.addComponent(cc.Graphics);
//bg.fillRect(-canvas.width / 2, -canvas.height / 2, canvas.width, canvas.height);
const laodingLayer = cc.find('middleLayer/loadingLayer');
......
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