[client] update ui
This commit is contained in:
@@ -8,7 +8,7 @@ class SimpleButtonSkin extends ButtonColorSkin {
|
||||
|
||||
public var borderColor(default, default):Int;
|
||||
|
||||
public function new(color:Int = 0xffffff, borderColor:Int = 0x95937D) {
|
||||
public function new(color:Int = 0xffffff, borderColor:Int = 0xffffff) {
|
||||
super(color, 0.6);
|
||||
this.borderColor = borderColor;
|
||||
}
|
||||
@@ -19,7 +19,8 @@ class SimpleButtonSkin extends ButtonColorSkin {
|
||||
graphics.clear();
|
||||
graphics.beginFill(color, alpha);
|
||||
graphics.lineStyle(2, borderColor);
|
||||
graphics.drawRoundRect(0, 0, view.width, view.height, 10, 10);
|
||||
//graphics.drawRoundRect(0, 0, view.width, view.height, 10, 10);
|
||||
graphics.drawRect(0, 0, view.width, view.height);
|
||||
graphics.endFill();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user