dark mode!!
This commit is contained in:
@@ -5,7 +5,7 @@ import funkin.editors.ui.*;
|
||||
class UIDebugState extends UIState {
|
||||
public override function create() {
|
||||
super.create();
|
||||
var bg = new FlxSprite().makeGraphic(1, 1, 0xFF888888);
|
||||
var bg = new FlxSprite().makeGraphic(1, 1, 0xFF444444);
|
||||
bg.scale.set(FlxG.width, FlxG.height);
|
||||
bg.updateHitbox();
|
||||
bg.scrollFactor.set();
|
||||
@@ -15,7 +15,7 @@ class UIDebugState extends UIState {
|
||||
add(new UICheckbox(10, 40, "Test checked", true));
|
||||
add(new UIButton(10, 70, "Test button", function() {
|
||||
trace("Hello, World!");
|
||||
}, 120, 32));
|
||||
}, 130, 32));
|
||||
add(new UIButton(10, 110, "Warning test", function() {
|
||||
openSubState(new UIWarningSubstate("Test", "This is a test message", [
|
||||
{
|
||||
@@ -31,7 +31,7 @@ class UIDebugState extends UIState {
|
||||
}
|
||||
}
|
||||
]));
|
||||
}, 120, 32));
|
||||
}, 130, 32));
|
||||
add(new UIButton(10, 150, "Warning test (Overflowing)", function() {
|
||||
openSubState(new UIWarningSubstate("Test", "This is a test message", [
|
||||
{
|
||||
@@ -59,24 +59,8 @@ class UIDebugState extends UIState {
|
||||
{
|
||||
label: "4",
|
||||
onClick: function(t) {}
|
||||
},
|
||||
{
|
||||
label: "5",
|
||||
onClick: function(t) {}
|
||||
},
|
||||
{
|
||||
label: "6",
|
||||
onClick: function(t) {}
|
||||
},
|
||||
{
|
||||
label: "7",
|
||||
onClick: function(t) {}
|
||||
},
|
||||
{
|
||||
label: "8",
|
||||
onClick: function(t) {}
|
||||
}
|
||||
]));
|
||||
}, 120, 64));
|
||||
}, 130, 48));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user