mirror of
https://github.com/osukey/osukey.git
synced 2025-08-07 00:23:59 +09:00
Merge branch 'master' into markdown-wiki
This commit is contained in:
@ -59,6 +59,10 @@ namespace osu.Game.Skinning.Editor
|
|||||||
// the selection quad is always upright, so use an AABB rect to make mutating the values easier.
|
// the selection quad is always upright, so use an AABB rect to make mutating the values easier.
|
||||||
var selectionRect = getSelectionQuad().AABBFloat;
|
var selectionRect = getSelectionQuad().AABBFloat;
|
||||||
|
|
||||||
|
// If the selection has no area we cannot scale it
|
||||||
|
if (selectionRect.Area == 0)
|
||||||
|
return false;
|
||||||
|
|
||||||
// copy to mutate, as we will need to compare to the original later on.
|
// copy to mutate, as we will need to compare to the original later on.
|
||||||
var adjustedRect = selectionRect;
|
var adjustedRect = selectionRect;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user