This commit is contained in:
Yoshman29
2022-12-26 00:39:55 +01:00
parent ccae81968e
commit 696bc286fb
4 changed files with 6 additions and 4 deletions
+2
View File
@@ -0,0 +1,2 @@
update.bat
lime test windows
+1 -1
View File
@@ -1 +1 @@
1785
1788
+2 -2
View File
@@ -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) {
{
+1 -1
View File
@@ -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);