osu/osu.Game/Skinning/Editor
Bartłomiej Dach 25b1443c50 Remove dead branch and mark implementation as temporary
The previous implementation was checking if the `x0` or `x2` anchors
were selected to decide on which way to transfer the drawable's scale,
but that check actually ends up being always true for corner anchors. To
visualise, this is how the corner anchors correspond to `Anchor` flags:

    x0  x1  x2
    |   |   |
y0 -O---O---O-
    |   |   |
y1 -O---+---O-
    |   |   |
y2 -O---O---O-
    |   |   |

The Os indicate where the reference anchors are on a selection box.
The first conditional eliminates the middle ones, which makes sense.
But after excluding them from further deliberations (marking via X):

    x0  x1  x2
    |   |   |
y0 -O---X---O-
    |   |   |
y1 -X---+---X-
    |   |   |
y2 -O---X---O-
    |   |   |

The remaining anchors always have `x0` or `x2` set. So to avoid
confusion, just always transfer one way for now. At some point this
should be torn out in favour of an actual implementation of the desired
behaviour.
2021-05-13 17:50:12 +02:00
..
SkinBlueprint.cs Merge branch 'master' into skin-blueprint-aspect-lock 2021-05-13 23:38:53 +09:00
SkinBlueprintContainer.cs Rename ISkinnableComponent to ISkinnableDrawable 2021-05-13 17:06:00 +09:00
SkinComponentToolbox.cs Rename ISkinnableComponent to ISkinnableDrawable 2021-05-13 17:06:00 +09:00
SkinEditor.cs Merge branch 'master' into save-on-forced-exit 2021-05-13 22:00:38 +09:00
SkinEditorOverlay.cs Save skin editor changes on forced exit 2021-05-12 16:07:00 +09:00
SkinSelectionHandler.cs Remove dead branch and mark implementation as temporary 2021-05-13 17:50:12 +02:00