1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-14 19:22:56 +08:00

Remove unnecessary double specification

This commit is contained in:
Dean Herbert 2021-05-26 15:20:47 +09:00
parent 65649e5a62
commit b36b40cb34

View File

@ -60,7 +60,7 @@ namespace osu.Game.Skinning.Editor
var selectionRect = getSelectionQuad().AABBFloat;
// If the selection has no area we cannot scale it
if (selectionRect.Area == 0.0)
if (selectionRect.Area == 0)
return false;
// copy to mutate, as we will need to compare to the original later on.