[editor] update
This commit is contained in:
Binary file not shown.
@@ -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()
|
||||
|
||||
@@ -25,7 +25,7 @@ class BrushView<D> 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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user