mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-02-27 16:55:41 +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();
|
initMDLabels();
|
||||||
initMDValues();
|
initMDValues();
|
||||||
updateInfoPanel();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
VideoGameListView::~VideoGameListView()
|
VideoGameListView::~VideoGameListView()
|
||||||
|
@ -343,3 +342,9 @@ void VideoGameListView::update(int deltaTime)
|
||||||
BasicGameListView::update(deltaTime);
|
BasicGameListView::update(deltaTime);
|
||||||
mVideo.update(deltaTime);
|
mVideo.update(deltaTime);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void VideoGameListView::onShow()
|
||||||
|
{
|
||||||
|
GuiComponent::onShow();
|
||||||
|
updateInfoPanel();
|
||||||
|
}
|
||||||
|
|
|
@ -12,6 +12,8 @@ public:
|
||||||
VideoGameListView(Window* window, FileData* root);
|
VideoGameListView(Window* window, FileData* root);
|
||||||
virtual ~VideoGameListView();
|
virtual ~VideoGameListView();
|
||||||
|
|
||||||
|
virtual void onShow() override;
|
||||||
|
|
||||||
virtual void onThemeChanged(const std::shared_ptr<ThemeData>& theme) override;
|
virtual void onThemeChanged(const std::shared_ptr<ThemeData>& theme) override;
|
||||||
|
|
||||||
virtual const char* getName() const override { return "video"; }
|
virtual const char* getName() const override { return "video"; }
|
||||||
|
|
Loading…
Reference in a new issue