diff options
author | Yuri Roubinsky <chaosus89@gmail.com> | 2021-08-11 17:43:05 +0300 |
---|---|---|
committer | Yuri Roubinsky <chaosus89@gmail.com> | 2021-08-12 09:09:24 +0300 |
commit | 61904d56eac35b81f55e0ed73ee3320e21ea7241 (patch) | |
tree | a523483e692bc4bd3ab149db7fb5fb92ed265f3b /scene/resources/default_theme/default_theme.cpp | |
parent | 974cc68fb420768a244c14dfd7a59da73f2330bd (diff) |
Better port handling connection for `GraphEdit`
Diffstat (limited to 'scene/resources/default_theme/default_theme.cpp')
-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)); |