make checkerboard off by default
This commit is contained in:
parent
84e054d66c
commit
500dd5dd5c
@ -112,8 +112,8 @@ class KadeEngineData
|
||||
if (FlxG.save.data.cacheImages == null)
|
||||
FlxG.save.data.cacheImages = false;
|
||||
|
||||
if (FlxG.save.data.editor == null)
|
||||
FlxG.save.data.editor = true;
|
||||
if (FlxG.save.data.editorBG == null)
|
||||
FlxG.save.data.editor = false;
|
||||
|
||||
if (FlxG.save.data.zoom == null)
|
||||
FlxG.save.data.zoom = 1;
|
||||
|
@ -152,7 +152,7 @@ class EditorRes extends Option
|
||||
|
||||
public override function press():Bool
|
||||
{
|
||||
FlxG.save.data.editor = !FlxG.save.data.editor;
|
||||
FlxG.save.data.editorBG = !FlxG.save.data.editorBG;
|
||||
|
||||
display = updateDisplay();
|
||||
return true;
|
||||
@ -160,7 +160,7 @@ class EditorRes extends Option
|
||||
|
||||
private override function updateDisplay():String
|
||||
{
|
||||
return FlxG.save.data.editor ? "Show Editor Grid" : "Do not Show Editor Grid";
|
||||
return FlxG.save.data.editorBG ? "Show Editor Grid" : "Do not Show Editor Grid";
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -21,7 +21,7 @@ class SectionRender extends FlxSprite
|
||||
if (Math.floor(h) != h)
|
||||
h = GRID_SIZE;
|
||||
|
||||
if (FlxG.save.data.editor)
|
||||
if (FlxG.save.data.editorBG)
|
||||
FlxGridOverlay.overlay(this,GRID_SIZE, Std.int(h), GRID_SIZE * 8,GRID_SIZE * Height);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user