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