diff options
author | Yuri Rubinsky <chaosus89@gmail.com> | 2022-05-30 17:39:34 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-30 17:39:34 +0300 |
commit | 3ed2a0428c7341afae9a35f2b2786fe4a06ad306 (patch) | |
tree | 05471040eaa6e73ab7ac3e5976a0c2ab8026b4d6 /scene/resources | |
parent | 9b78d68605d88c6984737ced7feeebd46430d0e2 (diff) | |
parent | 771cb1261aca70df750474313f8050605735c420 (diff) |
Merge pull request #61515 from Geometror/improve-graphedit-hotzones
Diffstat (limited to 'scene/resources')
-rw-r--r-- | scene/resources/default_theme/default_theme.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/resources/default_theme/default_theme.cpp b/scene/resources/default_theme/default_theme.cpp index ba22fdcad3..6b720ecd39 100644 --- a/scene/resources/default_theme/default_theme.cpp +++ b/scene/resources/default_theme/default_theme.cpp @@ -1009,8 +1009,8 @@ void fill_default_theme(Ref<Theme> &theme, const Ref<Font> &default_font, const // Visual Node Ports - theme->set_constant("port_grab_distance_horizontal", "GraphEdit", 24 * scale); - theme->set_constant("port_grab_distance_vertical", "GraphEdit", 26 * scale); + theme->set_constant("port_hotzone_inner_extent", "GraphEdit", 22 * scale); + theme->set_constant("port_hotzone_outer_extent", "GraphEdit", 26 * scale); theme->set_stylebox("bg", "GraphEditMinimap", make_flat_stylebox(Color(0.24, 0.24, 0.24), 0, 0, 0, 0)); Ref<StyleBoxFlat> style_minimap_camera = make_flat_stylebox(Color(0.65, 0.65, 0.65, 0.2), 0, 0, 0, 0, 0); |