diff options
author | Juan Linietsky <reduzio@gmail.com> | 2018-07-24 18:02:10 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-24 18:02:10 -0300 |
commit | 2e67fc57e6df5151506665108240d10ca366e56c (patch) | |
tree | 5c995b5742c0e87b80204475a3ce01fb720d3626 /scene/resources/default_theme/default_theme.cpp | |
parent | 62f2a8aadb28572f6d6a1fd382312e788fada3bc (diff) | |
parent | 85670726fdf840da22d3ab1fe55de4162e9289df (diff) | |
download | redot-engine-2e67fc57e6df5151506665108240d10ca366e56c.tar.gz |
Merge pull request #18867 from fire/better_vx_us_rebase_02
Improve VisualScript UX
Diffstat (limited to 'scene/resources/default_theme/default_theme.cpp')
-rw-r--r-- | scene/resources/default_theme/default_theme.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scene/resources/default_theme/default_theme.cpp b/scene/resources/default_theme/default_theme.cpp index fe12e2f5f6..601f6fb558 100644 --- a/scene/resources/default_theme/default_theme.cpp +++ b/scene/resources/default_theme/default_theme.cpp @@ -883,6 +883,10 @@ void fill_default_theme(Ref<Theme> &theme, const Ref<Font> &default_font, const theme->set_icon("logo", "Icons", make_icon(logo_png)); + // Visual Node Ports + theme->set_constant("port_grab_distance_horizontal", "GraphEdit", 48 * scale); + theme->set_constant("port_grab_distance_vertical", "GraphEdit", 6 * scale); + // Theme default_icon = make_icon(error_icon_png); |