mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-25 23:55:38 +00:00
fix image ratio for first image in video game list view
This commit is contained in:
parent
bf1c0b841b
commit
fbf349d61a
|
@ -94,7 +94,6 @@ VideoGameListView::VideoGameListView(Window* window, FileData* root) :
|
|||
|
||||
initMDLabels();
|
||||
initMDValues();
|
||||
updateInfoPanel();
|
||||
}
|
||||
|
||||
VideoGameListView::~VideoGameListView()
|
||||
|
@ -343,3 +342,9 @@ void VideoGameListView::update(int deltaTime)
|
|||
BasicGameListView::update(deltaTime);
|
||||
mVideo.update(deltaTime);
|
||||
}
|
||||
|
||||
void VideoGameListView::onShow()
|
||||
{
|
||||
GuiComponent::onShow();
|
||||
updateInfoPanel();
|
||||
}
|
||||
|
|
|
@ -12,6 +12,8 @@ public:
|
|||
VideoGameListView(Window* window, FileData* root);
|
||||
virtual ~VideoGameListView();
|
||||
|
||||
virtual void onShow() override;
|
||||
|
||||
virtual void onThemeChanged(const std::shared_ptr<ThemeData>& theme) override;
|
||||
|
||||
virtual const char* getName() const override { return "video"; }
|
||||
|
|
Loading…
Reference in a new issue