[client] update haxework. ep1

This commit is contained in:
2019-02-22 21:54:23 +03:00
parent 45af6c2a50
commit 2aa1c82aea
14 changed files with 111 additions and 77 deletions

View File

@@ -15,7 +15,7 @@ class SimpleButtonSkin extends ButtonColorSkin {
override public function draw(view:ButtonView):Void {
var color:Int = selectColor(view);
var graphics:Graphics = view.contentAsSprite.graphics;
var graphics:Graphics = view.content.graphics;
graphics.clear();
graphics.beginFill(color, alpha);
graphics.lineStyle(2, borderColor);