Rename all methods that return ScrollBar nodes to get_*_scroll_bar()
This commit is contained in:
parent
03cfdf8cc7
commit
ec4f4c6cda
16 changed files with 31 additions and 31 deletions
|
|
@ -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")));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue