mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-22 14:15:38 +00:00
Fixed an issue where system transition animations would sometimes not play after changing their type.
This commit is contained in:
parent
864d88ec8a
commit
df9f3cf0c4
|
@ -46,7 +46,11 @@ public:
|
||||||
void render(const glm::mat4& parentTrans) override;
|
void render(const glm::mat4& parentTrans) override;
|
||||||
|
|
||||||
bool isScrolling() { return mPrimary->isScrolling(); }
|
bool isScrolling() { return mPrimary->isScrolling(); }
|
||||||
void stopScrolling() { mPrimary->stopScrolling(); }
|
void stopScrolling()
|
||||||
|
{
|
||||||
|
mPrimary->stopScrolling();
|
||||||
|
mCamOffset = static_cast<float>(mPrimary->getCursor());
|
||||||
|
}
|
||||||
bool isSystemAnimationPlaying(unsigned char slot) { return mPrimary->isAnimationPlaying(slot); }
|
bool isSystemAnimationPlaying(unsigned char slot) { return mPrimary->isAnimationPlaying(slot); }
|
||||||
void finishSystemAnimation(unsigned char slot)
|
void finishSystemAnimation(unsigned char slot)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue