2
0
Fork 0

Fix regression in visual nodes hotzones

4.1
QbieShay 2023-06-22 12:59:48 +07:00
parent b6ba664830
commit 237e3c6099
1 changed files with 1 additions and 0 deletions

@ -887,6 +887,7 @@ bool GraphEdit::is_in_port_hotzone(const Vector2 &p_pos, const Vector2 &p_mouse_
continue;
}
Rect2 child_rect = child->get_rect();
child_rect.size *= zoom;
if (child_rect.has_point(p_mouse_pos * zoom)) {
for (int j = 0; j < child->get_child_count(); j++) {