From fa50176d79f01cc2fa1560afe89b922040e6a4ec Mon Sep 17 00:00:00 2001 From: Tanasart Date: Wed, 31 Jul 2024 10:53:28 +0700 Subject: [PATCH] - [Inspector Panel] Fix error when displaying array data on textbox. --- scripts/textBox/textBox.gml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/textBox/textBox.gml b/scripts/textBox/textBox.gml index 01643a4d8..0180bb181 100644 --- a/scripts/textBox/textBox.gml +++ b/scripts/textBox/textBox.gml @@ -379,10 +379,10 @@ function textBox(_input, _onModify) : textInput(_input, _onModify) constructor { draw_text_add(_w / 2 - _wh_w - padding, _y, _text); } else - draw_text_add(_x + disp_x, _y, _text + suffix); + draw_text_add(_x + disp_x, _y, $"{_text}{suffix}"); } else - draw_text_add(_x + disp_x, _y, _text + suffix); + draw_text_add(_x + disp_x, _y, $"{_text}{suffix}"); draw_set_alpha(1);