Skip to content

Commit f14d60d

Browse files
committed
Fixed formatting
1 parent 62d71ba commit f14d60d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

libs/s25main/ingameWindows/IngameWindow.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -254,8 +254,7 @@ void IngameWindow::MouseLeftUp(const MouseCoords& mc)
254254
}
255255

256256
// On touch devices dblclick close window
257-
if(VIDEODRIVER.IsTouch() && mc.dbl_click && !btnClicked && !IsPinned()
258-
&& closeBehavior_ == CloseBehavior::Regular)
257+
if(VIDEODRIVER.IsTouch() && mc.dbl_click && !btnClicked && !IsPinned() && closeBehavior_ == CloseBehavior::Regular)
259258
Close();
260259
}
261260

0 commit comments

Comments
 (0)