mirror of
https://github.com/Ttanasart-pt/Pixel-Composer.git
synced 2024-11-10 12:34:06 +01:00
- [Graph Panel] Fix error when hotkey node creation got canceled.
This commit is contained in:
parent
0d3686733b
commit
a44e2c96e0
@ -2217,6 +2217,8 @@ function Panel_Graph(project = PROJECT) : PanelContent() constructor {
|
||||
if(is_string(_node)) node = nodeBuild(_node, _mx, _my);
|
||||
else node = _node(_mx, _my, getCurrentContext(), _param);
|
||||
|
||||
if(node == noone) return;
|
||||
|
||||
mouse_create_y = ceil((mouse_create_y + node.h + _gs / 2) / _gs) * _gs;
|
||||
|
||||
if(value_dragging == noone) return;
|
||||
|
Loading…
Reference in New Issue
Block a user