Commit 595aee8c authored by Edwise's avatar Edwise 🍷

1

parent 80a70657
......@@ -33,7 +33,7 @@
var e = t.clientWidth;
e / a > 750 && (e = 750 * a),
(window.remScale = e / 750),
(t.style.fontSize = 200 * (e / 750) + 'px');
(t.style.fontSize = 100 * (e / 750) + 'px');
};
s(), e.addEventListener && i.addEventListener(m, s, !1);
})(document, window);
......
......@@ -59,7 +59,8 @@ export class MainScene extends Scene {
testRect2: FYGE.Shape;
initUi() {
// this.addChild(new TestView());
this.addChild(new TestView());
return;
this.testRect1 = new FYGE.Shape();
this.testRect1.beginFill(80);
this.testRect1.drawRect(-100, -50, 200, 100);
......
This diff is collapsed.
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