mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-22 14:15:38 +00:00
Animations in GridComponent are now finished on menu opening, game launch etc.
This commit is contained in:
parent
b67ce99a0e
commit
825d220be0
|
@ -79,7 +79,13 @@ private:
|
|||
}
|
||||
void onCursorChanged(const CursorState& state) override;
|
||||
bool isScrolling() const override { return List::isScrolling(); }
|
||||
void stopScrolling() override { List::stopScrolling(); }
|
||||
void stopScrolling() override
|
||||
{
|
||||
List::stopScrolling();
|
||||
// Only finish the animation if we're in the gamelist view.
|
||||
if (mGamelistView)
|
||||
GuiComponent::finishAnimation(0);
|
||||
}
|
||||
const int getScrollingVelocity() override { return List::getScrollingVelocity(); }
|
||||
void clear() override { List::clear(); }
|
||||
const T& getSelected() const override { return List::getSelected(); }
|
||||
|
|
Loading…
Reference in a new issue