Pixel-Composer/objects/o_dialog_scrollbox/Alarm_0.gml

9 lines
214 B
Plaintext
Raw Normal View History

2022-01-13 05:24:03 +01:00
/// @description init
#region pos
2022-11-03 11:44:49 +01:00
var hght = line_height(f_p0, 8);
2022-12-16 09:18:09 +01:00
var hh = array_length(scrollbox.data) * hght;
2022-01-13 05:24:03 +01:00
2022-12-16 09:18:09 +01:00
dialog_h = min(max_h, hh);
sc_content.resize(dialog_w, dialog_h);
2022-01-13 05:24:03 +01:00
#endregion
2022-11-03 11:44:49 +01:00
event_inherited();