diff options
author | Yuri Roubinsky <chaosus89@gmail.com> | 2021-08-12 11:40:52 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-12 11:40:52 +0300 |
commit | 810c30dc096a24ddf752d1fdd0f8dbe5d5c4e1b3 (patch) | |
tree | 8898a84ad8681c3902e93b604fe7b4a02a9edde5 /scene/resources | |
parent | fba0c8e2e2275d34d75dd0b3d524383fd99e1dfd (diff) | |
parent | 61904d56eac35b81f55e0ed73ee3320e21ea7241 (diff) |
Merge pull request #51517 from Chaosus/precise_graphedit_port_handling
Better port handling connection for `GraphEdit`
Diffstat (limited to 'scene/resources')
-rw-r--r-- | scene/resources/default_theme/default_theme.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/resources/default_theme/default_theme.cpp b/scene/resources/default_theme/default_theme.cpp index ceb4c0faa3..8208c55801 100644 --- a/scene/resources/default_theme/default_theme.cpp +++ b/scene/resources/default_theme/default_theme.cpp @@ -967,7 +967,7 @@ void fill_default_theme(Ref<Theme> &theme, const Ref<Font> &default_font, const // 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)); |