mirror of
https://github.com/RandomityGuy/MBHaxe.git
synced 2026-01-15 19:52:08 +00:00
fix ui lmao
This commit is contained in:
parent
86f52dd5f6
commit
60d1006f69
1 changed files with 0 additions and 5 deletions
|
|
@ -33,12 +33,7 @@ class SPCustomsGui extends GuiImage {
|
|||
this.position = new Vector();
|
||||
this.extent = new Vector(640, 480);
|
||||
|
||||
#if hl
|
||||
var scene2d = hxd.Window.getInstance();
|
||||
#end
|
||||
#if (js || uwp)
|
||||
var scene2d = MarbleGame.instance.scene2d;
|
||||
#end
|
||||
|
||||
var offsetX = (scene2d.width - 1280) / 2;
|
||||
var offsetY = (scene2d.height - 720) / 2;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue