mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-01-18 23:15:38 +00:00
Fixed a ViewController issue where the camera was reported as moving when it wasn't.
This commit is contained in:
parent
e3f67b26c3
commit
b87a1c5784
|
@ -258,8 +258,8 @@ void ViewController::ReloadAndGoToStart()
|
||||||
bool ViewController::isCameraMoving()
|
bool ViewController::isCameraMoving()
|
||||||
{
|
{
|
||||||
if (mCurrentView) {
|
if (mCurrentView) {
|
||||||
if (mCamera.r3().x() != -mCurrentView->getPosition().x() ||
|
if (mCamera.r3().x() - -mCurrentView->getPosition().x() != 0 ||
|
||||||
mCamera.r3().y() != -mCurrentView->getPosition().y())
|
mCamera.r3().y() - -mCurrentView->getPosition().y() != 0)
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in a new issue