mirror of
https://github.com/unanmed/HumanBreak.git
synced 2025-01-31 15:09:26 +08:00
fix: 渲染根元素不能取消alpha通道
This commit is contained in:
parent
8d7ca27bb4
commit
06adb72bc3
@ -13,7 +13,7 @@ export class MotaRenderer extends Container {
|
||||
constructor(id: string = 'render-main') {
|
||||
super('static', false);
|
||||
|
||||
this.target = new MotaCanvas2D(id, true, false);
|
||||
this.target = new MotaCanvas2D(id);
|
||||
this.size(core._PX_, core._PY_);
|
||||
this.target.withGameScale(true);
|
||||
this.target.size(core._PX_, core._PY_);
|
||||
|
Loading…
Reference in New Issue
Block a user