- [Inspector Panel] Fix error when displaying array data on textbox.

This commit is contained in:
Tanasart 2024-07-31 10:53:28 +07:00
parent 301e43a6c2
commit fa50176d79

View file

@ -379,10 +379,10 @@ function textBox(_input, _onModify) : textInput(_input, _onModify) constructor {
draw_text_add(_w / 2 - _wh_w - padding, _y, _text); draw_text_add(_w / 2 - _wh_w - padding, _y, _text);
} else } else
draw_text_add(_x + disp_x, _y, _text + suffix); draw_text_add(_x + disp_x, _y, $"{_text}{suffix}");
} else } else
draw_text_add(_x + disp_x, _y, _text + suffix); draw_text_add(_x + disp_x, _y, $"{_text}{suffix}");
draw_set_alpha(1); draw_set_alpha(1);