Skip to content

Commit 6af70e2

Browse files
committed
pixi changes (before validation fork)
1 parent 78eba23 commit 6af70e2

File tree

3 files changed

+3
-19
lines changed

3 files changed

+3
-19
lines changed

haxe/ui/backend/TextDisplayBase.hx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ class TextDisplayBase extends Text {
1010
public function new() {
1111
super("");
1212
scale = new pixi.core.math.Point(1, 1);
13+
//this.style.wordWrap = true;
1314
}
1415

1516
public var textWidth(get, null):Float;

haxe/ui/backend/pixi.config.xml

Lines changed: 0 additions & 18 deletions
This file was deleted.

haxe/ui/backend/pixi/PixiStyleHelper.hx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,8 @@ class PixiStyleHelper {
176176
if (borderRadius == 0) {
177177
graphics.drawRect(rc.left, rc.top, rc.width, rc.height);
178178
} else {
179-
graphics.drawRoundedRect(rc.left, rc.top, rc.width, rc.height, borderRadius);
179+
//graphics.drawRoundedRect(rc.left, rc.top, rc.width, rc.height, borderRadius);
180+
graphics.drawRect(rc.left, rc.top, rc.width, rc.height);
180181
}
181182
}
182183

0 commit comments

Comments
 (0)