mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-26 19:58:36 +01:00
Remove extra newline
This commit is contained in:
1 parent
28ce721ff5
commit
f8632b9142
1 file changed
-2
@@ -265,11 +265,9 @@ bool TouchControlLayoutScreen::touch(const TouchInput &touch) {
|
||||
diffX -= (int)(touch.x - startX_) % (g_Config.iTouchSnapGridSize/2);
|
||||
diffY += (int)(touch.y - startY_) % (g_Config.iTouchSnapGridSize/2);
|
||||
}
|
||||
|
||||
float movementScale = 0.02f;
|
||||
float newScale = startScale_ + diffY * movementScale;
|
||||
float newSpacing = startSpacing_ + diffX * movementScale;
|
||||
|
||||
if (newScale > 3.0f) newScale = 3.0f;
|
||||
if (newScale < 0.5f) newScale = 0.5f;
|
||||
if (newSpacing > 3.0f) newSpacing = 3.0f;
|
||||
|
||||
Reference in new issue
Block a user