mirror of
https://github.com/Ttanasart-pt/Pixel-Composer.git
synced 2025-01-12 15:26:33 +01:00
- [Node] Fix height display error in parameter view.
This commit is contained in:
parent
ae07617500
commit
9a853c813d
2 changed files with 5 additions and 1 deletions
|
@ -98,6 +98,7 @@ function Node(_x, _y, _group = noone) : __Node_Base(_x, _y) constructor {
|
||||||
min_w = w;
|
min_w = w;
|
||||||
min_h = h;
|
min_h = h;
|
||||||
fix_h = h;
|
fix_h = h;
|
||||||
|
h_param = h;
|
||||||
will_setHeight = false;
|
will_setHeight = false;
|
||||||
|
|
||||||
selectable = true;
|
selectable = true;
|
||||||
|
@ -1153,6 +1154,8 @@ function Node(_x, _y, _group = noone) : __Node_Base(_x, _y) constructor {
|
||||||
_outy += junction_draw_hei_y * _s * jun.isVisible();
|
_outy += junction_draw_hei_y * _s * jun.isVisible();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(show_parameter) h = h_param;
|
||||||
|
|
||||||
onPreDraw(_x, _y, _s, _iny, _outy);
|
onPreDraw(_x, _y, _s, _iny, _outy);
|
||||||
} #endregion
|
} #endregion
|
||||||
|
|
||||||
|
@ -1294,6 +1297,7 @@ function Node(_x, _y, _group = noone) : __Node_Base(_x, _y) constructor {
|
||||||
}
|
}
|
||||||
|
|
||||||
h = fix_h + extY;
|
h = fix_h + extY;
|
||||||
|
h_param = h;
|
||||||
} #endregion
|
} #endregion
|
||||||
|
|
||||||
static drawJunctions = function(_x, _y, _mx, _my, _s) { #region
|
static drawJunctions = function(_x, _y, _mx, _my, _s) { #region
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"$GMScript":"v1",
|
"$GMScript":"",
|
||||||
"%Name":"node_data",
|
"%Name":"node_data",
|
||||||
"isCompatibility":false,
|
"isCompatibility":false,
|
||||||
"isDnD":false,
|
"isDnD":false,
|
||||||
|
|
Loading…
Reference in a new issue