aboutsummaryrefslogtreecommitdiff
path: root/scene/resources/default_theme/default_theme.cpp
diff options
context:
space:
mode:
authorJuan Linietsky2016-08-23 10:15:47 -0300
committerJuan Linietsky2016-08-23 10:15:47 -0300
commit231c72b5eb2c81a3e5e21db019db029e9640cc48 (patch)
treee6c6f8544de7977caa167a9a0df83149ac5b2b0a /scene/resources/default_theme/default_theme.cpp
parentcbbcf727035c8b481889f605337a96a9e58ed970 (diff)
downloadgodot-231c72b5eb2c81a3e5e21db019db029e9640cc48.tar.gz
godot-231c72b5eb2c81a3e5e21db019db029e9640cc48.tar.zst
godot-231c72b5eb2c81a3e5e21db019db029e9640cc48.zip
prettier connections for graph edit
Diffstat (limited to 'scene/resources/default_theme/default_theme.cpp')
-rw-r--r--scene/resources/default_theme/default_theme.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/scene/resources/default_theme/default_theme.cpp b/scene/resources/default_theme/default_theme.cpp
index 203359930..90f63a505 100644
--- a/scene/resources/default_theme/default_theme.cpp
+++ b/scene/resources/default_theme/default_theme.cpp
@@ -930,6 +930,8 @@ void fill_default_theme(Ref<Theme>& t,const Ref<Font> & default_font,const Ref<F
t->set_stylebox("bg","GraphEdit", make_stylebox( tree_bg_png,4,4,4,5) );
t->set_color("grid_minor","GraphEdit", Color(1,1,1,0.05) );
t->set_color("grid_major","GraphEdit", Color(1,1,1,0.2) );
+ t->set_constant("bezier_len_pos","GraphEdit", 80*scale );
+ t->set_constant("bezier_len_neg","GraphEdit", 160*scale );