Update default port_grab_distance_vertical
(cherry picked from commit 38ad72af44
)
This commit is contained in:
parent
2106c5175a
commit
dd9121040e
|
@ -283,7 +283,7 @@
|
|||
<theme_item name="port_grab_distance_horizontal" data_type="constant" type="int" default="24">
|
||||
The horizontal range within which a port can be grabbed (on both sides).
|
||||
</theme_item>
|
||||
<theme_item name="port_grab_distance_vertical" data_type="constant" type="int" default="6">
|
||||
<theme_item name="port_grab_distance_vertical" data_type="constant" type="int" default="26">
|
||||
The vertical range within which a port can be grabbed (on both sides).
|
||||
</theme_item>
|
||||
<theme_item name="minimap" data_type="icon" type="Texture">
|
||||
|
|
|
@ -903,7 +903,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", 24 * scale);
|
||||
theme->set_constant("port_grab_distance_vertical", "GraphEdit", 6 * scale);
|
||||
theme->set_constant("port_grab_distance_vertical", "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);
|
||||
|
|
Loading…
Reference in New Issue