mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-25 15:45:38 +00:00
Fixed an issue where some help prompts were missing in the metadata editor.
This commit is contained in:
parent
be6782d340
commit
e12eb5a908
|
@ -143,10 +143,6 @@ GuiMetaDataEd::GuiMetaDataEd(Window* window,
|
|||
ed->setSize(0.0f, height);
|
||||
row.addElement(ed, false, true);
|
||||
|
||||
auto ratingSpacer = std::make_shared<GuiComponent>(mWindow);
|
||||
ratingSpacer->setSize(Renderer::getScreenWidth() * 0.001f, 0.0f);
|
||||
row.addElement(ratingSpacer, false);
|
||||
|
||||
// Pass input to the actual RatingComponent instead of the spacer.
|
||||
row.input_handler = std::bind(&GuiComponent::input, ed.get(), std::placeholders::_1,
|
||||
std::placeholders::_2);
|
||||
|
@ -162,10 +158,6 @@ GuiMetaDataEd::GuiMetaDataEd(Window* window,
|
|||
ed->setChangedColor(TEXTCOLOR_USERMARKED);
|
||||
row.addElement(ed, false);
|
||||
|
||||
auto dateSpacer = std::make_shared<GuiComponent>(mWindow);
|
||||
dateSpacer->setSize(Renderer::getScreenWidth() * 0.0035f, 0.0f);
|
||||
row.addElement(dateSpacer, false);
|
||||
|
||||
// Pass input to the actual DateTimeEditComponent instead of the spacer.
|
||||
row.input_handler = std::bind(&GuiComponent::input, ed.get(), std::placeholders::_1,
|
||||
std::placeholders::_2);
|
||||
|
|
Loading…
Reference in a new issue