Fix text update for copyable ui box

This commit is contained in:
luboslenco
2022-05-17 11:28:27 +02:00
parent 2e3c5eddfb
commit b1c3c69a38
+3 -1
View File
@@ -63,8 +63,10 @@ class UIBox {
if (ui.window(hwnd, left, top, mw, mh, draggable)) {
ui._y += 10;
if (ui.tab(Id.handle(), boxTitle)) {
var htext = Id.handle();
htext.text = boxText;
copyable ?
Ext.textArea(ui, Id.handle({ text: boxText }), false) :
Ext.textArea(ui, htext, false) :
ui.text(boxText);
ui.endElement();