mirror of
https://github.com/Ttanasart-pt/Pixel-Composer.git
synced 2024-11-11 13:03:49 +01:00
19 lines
390 B
Plaintext
19 lines
390 B
Plaintext
|
/// @description init
|
||
|
event_inherited();
|
||
|
|
||
|
#region data
|
||
|
dialog_w = 368;
|
||
|
dialog_h = 144;
|
||
|
|
||
|
destroy_on_click_out = true;
|
||
|
#endregion
|
||
|
|
||
|
#region data
|
||
|
tb_width = new textBox(TEXTBOX_INPUT.number, function(str) {
|
||
|
PANEL_PREVIEW.grid_width = max(1, real(str));
|
||
|
})
|
||
|
|
||
|
tb_height = new textBox(TEXTBOX_INPUT.number, function(str) {
|
||
|
PANEL_PREVIEW.grid_height = max(1, real(str));
|
||
|
})
|
||
|
#endregion
|