goodbye
This commit is contained in:
+1
-1
@@ -1 +1 @@
|
||||
1785
|
||||
1788
|
||||
@@ -15,10 +15,10 @@ class DropDown extends Button {
|
||||
}
|
||||
|
||||
public function onClick() {
|
||||
var pos:FlxPoint = getScreenPosition();
|
||||
var pos:FlxPoint = getScreenPosition(null, camera);
|
||||
pos.y += height;
|
||||
|
||||
var camPos = camera != null ? FlxPoint.get(camera.x - (camera.scroll.x * scrollFactor.x), camera.y - (camera.scroll.y * scrollFactor.y)) : FlxPoint.get();
|
||||
var camPos = camera != null ? FlxPoint.get(camera.x, camera.y) : FlxPoint.get();
|
||||
|
||||
ContextMenu.open(pos.x + camPos.x, pos.y + camPos.y, [for(o in options) {
|
||||
{
|
||||
|
||||
@@ -98,7 +98,7 @@ class MainMenuState extends MusicBeatState
|
||||
|
||||
FlxG.camera.follow(camFollow, null, 0.06);
|
||||
|
||||
var versionShit:FunkinText = new FunkinText(5, FlxG.height - 2, 0, 'Codename Engine v${Application.current.meta.get('version')}\nPre-Alpha: Build ${funkin.macros.BuildCounterMacro.getBuildNumber()}\n');
|
||||
var versionShit:FunkinText = new FunkinText(5, FlxG.height - 2, 0, 'Codename Engine v${Application.current.meta.get('version')}\nBeta: Build ${funkin.macros.BuildCounterMacro.getBuildNumber()}\n');
|
||||
versionShit.scrollFactor.set();
|
||||
versionShit.y -= versionShit.height;
|
||||
add(versionShit);
|
||||
|
||||
Reference in New Issue
Block a user