Adjust testData to new labels syntax

This commit is contained in:
Denis Zharkov
2015-04-27 14:39:46 +03:00
parent 5977302465
commit 44a55e5bf6
191 changed files with 747 additions and 747 deletions
@@ -241,7 +241,7 @@ class CanvasState(val canvas: HTMLCanvasElement) {
}
jq(canvas).dblclick {
val newCreature = Creature(mousePos(it), this @CanvasState)
val newCreature = Creature(mousePos(it), this@CanvasState)
addShape(newCreature)
valid = false
}
@@ -381,7 +381,7 @@ class CanvasState(val canvas: HTMLCanvasElement) {
init {
jq(canvas).click {
val mousePos = mousePos(it)
@shapeLoop for (shape in shapes) {
shapeLoop@ for (shape in shapes) {
if (shape is Button && mousePos in shape) {
val name = shape.src
shape.mouseClick()