diff --git a/src/common/resources/level/classic_modern.zip b/src/common/resources/level/classic_modern.zip index f51451e..3876e21 100644 Binary files a/src/common/resources/level/classic_modern.zip and b/src/common/resources/level/classic_modern.zip differ diff --git a/src/editor/haxe/ru/m/tankz/editor/view/PackFrame.yaml b/src/editor/haxe/ru/m/tankz/editor/view/PackFrame.yaml index 2a2067d..4530aa3 100644 --- a/src/editor/haxe/ru/m/tankz/editor/view/PackFrame.yaml +++ b/src/editor/haxe/ru/m/tankz/editor/view/PackFrame.yaml @@ -14,9 +14,6 @@ views: +onItemSelect: ~onLevelSelect scroll: $type: haxework.view.list.VScrollBarView - - $type: haxework.view.form.ButtonView - text: + - +onPress: ~addLevel() - $type: haxework.view.group.VGroupView geometry.stretch: true views: @@ -87,11 +84,14 @@ views: style: panel layout.margin: 10 views: - - $type: haxework.view.SpriteView - geometry.width: 100% + - $type: haxework.view.form.ButtonView + text: Add + +onPress: ~addLevel() - $type: haxework.view.form.ButtonView text: Remove +onPress: ~removeLevel() + - $type: haxework.view.SpriteView + geometry.width: 100% - $type: haxework.view.form.ButtonView text: Save +onPress: ~save() diff --git a/src/editor/haxe/ru/m/tankz/editor/view/map/BrushView.hx b/src/editor/haxe/ru/m/tankz/editor/view/map/BrushView.hx index 93f6a37..fdf14c5 100644 --- a/src/editor/haxe/ru/m/tankz/editor/view/map/BrushView.hx +++ b/src/editor/haxe/ru/m/tankz/editor/view/map/BrushView.hx @@ -25,7 +25,7 @@ class BrushView extends ImageView { override public function update():Void { super.update(); selectView.graphics.clear(); - selectView.graphics.lineStyle(4, 0x33ff00); + selectView.graphics.lineStyle(4, theme.colors.active); selectView.graphics.drawRect(0, 0, width, height); selectView.graphics.lineStyle(); }