mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-01-18 15:15:37 +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()
|
||||
{
|
||||
if (mCurrentView) {
|
||||
if (mCamera.r3().x() != -mCurrentView->getPosition().x() ||
|
||||
mCamera.r3().y() != -mCurrentView->getPosition().y())
|
||||
if (mCamera.r3().x() - -mCurrentView->getPosition().x() != 0 ||
|
||||
mCamera.r3().y() - -mCurrentView->getPosition().y() != 0)
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
|
Loading…
Reference in a new issue