You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Rename all methods that return ScrollBar nodes to get_*_scroll_bar()
This commit is contained in:
@@ -1791,8 +1791,8 @@ void ProjectList::erase_selected_projects(bool p_delete_project_contents) {
|
||||
void ProjectList::_panel_draw(Node *p_hb) {
|
||||
Control *hb = Object::cast_to<Control>(p_hb);
|
||||
|
||||
if (is_layout_rtl() && get_v_scrollbar()->is_visible_in_tree()) {
|
||||
hb->draw_line(Point2(get_v_scrollbar()->get_minimum_size().x, hb->get_size().y + 1), Point2(hb->get_size().x, hb->get_size().y + 1), get_theme_color(SNAME("guide_color"), SNAME("Tree")));
|
||||
if (is_layout_rtl() && get_v_scroll_bar()->is_visible_in_tree()) {
|
||||
hb->draw_line(Point2(get_v_scroll_bar()->get_minimum_size().x, hb->get_size().y + 1), Point2(hb->get_size().x, hb->get_size().y + 1), get_theme_color(SNAME("guide_color"), SNAME("Tree")));
|
||||
} else {
|
||||
hb->draw_line(Point2(0, hb->get_size().y + 1), Point2(hb->get_size().x, hb->get_size().y + 1), get_theme_color(SNAME("guide_color"), SNAME("Tree")));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user