mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Better port handling connection for GraphEdit
(cherry picked from commit 61904d56ea
)
This commit is contained in:
parent
4e68f089e0
commit
b36b81cbdd
4 changed files with 36 additions and 14 deletions
|
@ -888,7 +888,8 @@ void fill_default_theme(Ref<Theme> &theme, const Ref<Font> &default_font, const
|
|||
theme->set_constant("bezier_len_neg", "GraphEdit", 160 * scale);
|
||||
|
||||
// Visual Node Ports
|
||||
theme->set_constant("port_grab_distance_horizontal", "GraphEdit", 48 * scale);
|
||||
|
||||
theme->set_constant("port_grab_distance_horizontal", "GraphEdit", 24 * scale);
|
||||
theme->set_constant("port_grab_distance_vertical", "GraphEdit", 6 * scale);
|
||||
|
||||
theme->set_stylebox("bg", "GraphEditMinimap", make_flat_stylebox(Color(0.24, 0.24, 0.24), 0, 0, 0, 0));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue