Remove extra newline

This commit is contained in:
iota97 committed 2020-01-12 11:54:06 +01:00
1 parent 28ce721ff5
commit f8632b9142
1 file changed
-2
-2
View File
@@ -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;