v1.2.0: fixed crashes caused by wndTextInput offsetting on init
This commit is contained in:
parent
155f7f1fe8
commit
f6cfd516c7
|
@ -131,8 +131,10 @@ public class WndTextInput extends Window {
|
|||
@Override
|
||||
public void offset(int xOffset, int yOffset) {
|
||||
super.offset(xOffset, yOffset);
|
||||
if (textBox != null){
|
||||
textBox.setRect(textBox.left(), textBox.top(), textBox.width(), textBox.height());
|
||||
}
|
||||
}
|
||||
|
||||
public void onSelect(boolean positive, String text){ }
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user