mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
[ScrollContainer] Fix focus rect draw position in RTL layout.
This commit is contained in:
parent
1b4ed4c038
commit
fd1eeacf23
1 changed files with 1 additions and 0 deletions
|
|
@ -399,6 +399,7 @@ void ScrollContainer::_reposition_children() {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (draw_focus_border) {
|
if (draw_focus_border) {
|
||||||
|
focus_panel->set_position(Vector2(0, 0));
|
||||||
focus_panel->set_size(get_size());
|
focus_panel->set_size(get_size());
|
||||||
}
|
}
|
||||||
queue_redraw();
|
queue_redraw();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue