|
@@ -372,7 +372,7 @@ class TextInput extends Text {
|
|
|
override function draw(ctx:RenderContext) {
|
|
|
if( inputWidth != null ) {
|
|
|
var h = localToGlobal(new h2d.col.Point(inputWidth, font.lineHeight));
|
|
|
- ctx.pushRenderZone(absX, absY, h.x - absX, h.y - absY);
|
|
|
+ ctx.clipRenderZone(absX, absY, h.x - absX, h.y - absY);
|
|
|
}
|
|
|
|
|
|
if( cursorIndex >= 0 && (text != cursorText || cursorIndex != cursorXIndex) ) {
|