Fix custom options layout.
Pass the correct arguments to options_manager::layout_children.
This commit is contained in:
parent
63a7446925
commit
a1e6eb821a
1 changed files with 1 additions and 1 deletions
|
@ -659,7 +659,7 @@ void configure::layout_children(const SDL_Rect& rect)
|
|||
options_pane_right_.add_widget(&village_gold_slider_, xpos_right, ypos_right);
|
||||
ypos_right += village_gold_slider_.height() + 3 * border_size;
|
||||
|
||||
options_manager_.layout_widgets(xpos, ypos);
|
||||
options_manager_.layout_widgets(xpos_right, ypos_right);
|
||||
|
||||
// OK / Cancel buttons
|
||||
gui::button* left_button = &launch_game_;
|
||||
|
|
Loading…
Add table
Reference in a new issue