mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2024-11-21 14:23:00 +00:00
fix: center preloader 'fnf' and 'dsp' text so it doesn't clip anymore
This commit is contained in:
parent
d2e29879fe
commit
165ad60155
|
@ -250,18 +250,18 @@ class FunkinPreloader extends FlxBasePreloader
|
|||
dspText.selectable = false;
|
||||
dspText.textColor = 0x000000;
|
||||
dspText.width = this._width;
|
||||
dspText.height = 20;
|
||||
dspText.height = 30;
|
||||
dspText.text = 'DSP';
|
||||
dspText.x = 10;
|
||||
dspText.y = -5;
|
||||
dspText.y = -7;
|
||||
box.addChild(dspText);
|
||||
|
||||
fnfText.selectable = false;
|
||||
fnfText.textColor = 0x000000;
|
||||
fnfText.width = this._width;
|
||||
fnfText.height = 20;
|
||||
fnfText.x = 75;
|
||||
fnfText.y = -5;
|
||||
fnfText.height = 30;
|
||||
fnfText.x = 78;
|
||||
fnfText.y = -7;
|
||||
fnfText.text = 'FNF';
|
||||
box.addChild(fnfText);
|
||||
|
||||
|
|
|
@ -105,11 +105,13 @@ class WindowUtil
|
|||
// FlxG.stage.focus is set to null by the debug console stuff,
|
||||
// so when that's in focus, we don't want to toggle fullscreen using F
|
||||
// (annoying when tying "FlxG" in console... lol)
|
||||
#if FLX_DEBUG
|
||||
@:privateAccess
|
||||
if (FlxG.game.debugger.visible)
|
||||
{
|
||||
return;
|
||||
}
|
||||
#end
|
||||
|
||||
if (e.keyCode == key)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue