You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-12-04 17:04:49 +00:00
Enhance tree scrolling when dragging
(cherry picked from commit 14a901e88f)
This commit is contained in:
committed by
Hein-Pieter van Braam-Stewart
parent
34c2679506
commit
4be1343f3c
@@ -689,7 +689,7 @@ Ref<Theme> create_editor_theme(const Ref<Theme> p_theme) {
|
||||
theme->set_constant("button_margin", "Tree", default_margin_size * EDSCALE);
|
||||
theme->set_constant("draw_relationship_lines", "Tree", relationship_line_opacity >= 0.01);
|
||||
theme->set_constant("draw_guides", "Tree", relationship_line_opacity < 0.01);
|
||||
theme->set_constant("scroll_border", "Tree", default_margin_size * EDSCALE);
|
||||
theme->set_constant("scroll_border", "Tree", 40 * EDSCALE);
|
||||
theme->set_constant("scroll_speed", "Tree", 12);
|
||||
|
||||
Ref<StyleBoxFlat> style_tree_btn = style_default->duplicate();
|
||||
|
||||
Reference in New Issue
Block a user