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)
|
if (FlxG.save.data.cacheImages == null)
|
||||||
FlxG.save.data.cacheImages = false;
|
FlxG.save.data.cacheImages = false;
|
||||||
|
|
||||||
if (FlxG.save.data.editor == null)
|
if (FlxG.save.data.editorBG == null)
|
||||||
FlxG.save.data.editor = true;
|
FlxG.save.data.editor = false;
|
||||||
|
|
||||||
if (FlxG.save.data.zoom == null)
|
if (FlxG.save.data.zoom == null)
|
||||||
FlxG.save.data.zoom = 1;
|
FlxG.save.data.zoom = 1;
|
||||||
|
@ -152,7 +152,7 @@ class EditorRes extends Option
|
|||||||
|
|
||||||
public override function press():Bool
|
public override function press():Bool
|
||||||
{
|
{
|
||||||
FlxG.save.data.editor = !FlxG.save.data.editor;
|
FlxG.save.data.editorBG = !FlxG.save.data.editorBG;
|
||||||
|
|
||||||
display = updateDisplay();
|
display = updateDisplay();
|
||||||
return true;
|
return true;
|
||||||
@ -160,7 +160,7 @@ class EditorRes extends Option
|
|||||||
|
|
||||||
private override function updateDisplay():String
|
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)
|
if (Math.floor(h) != h)
|
||||||
h = GRID_SIZE;
|
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);
|
FlxGridOverlay.overlay(this,GRID_SIZE, Std.int(h), GRID_SIZE * 8,GRID_SIZE * Height);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user