1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-23 07:27:24 +08:00
osu-lazer/osu.Game
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
..
Audio Fix audio previews not being adjusted in volume correctly 2021-02-17 20:51:17 +09:00
Beatmaps Add SkinInfo.InstantiationInfo to allow creating different skin types 2021-05-11 23:37:06 +09:00
Collections Apply ConfigureAwait changes to game side 2021-03-08 14:36:35 +09:00
Configuration Add back ctor doc 2021-04-28 03:54:42 +09:00
Database Fix incorrect xmldoc for DeleteFile 2021-05-11 18:39:14 +09:00
Extensions Standardise naming of methods related to SkinnableInfo 2021-05-13 13:14:49 +09:00
Graphics Centralise implementation of cancel button logic 2021-05-11 18:39:14 +09:00
Input Change default skin editor shortcut to Ctrl+Shift+S 2021-05-13 13:34:04 +09:00
IO Remove empty <returns> xmldoc 2021-04-12 17:46:14 +09:00
IPC Apply ConfigureAwait changes to game side 2021-03-08 14:36:35 +09:00
Migrations Add SkinInfo.InstantiationInfo to allow creating different skin types 2021-05-11 23:37:06 +09:00
Online Only update playing user states when users are watched 2021-05-12 13:10:59 +09:00
Overlays Centralise implementation of cancel button logic 2021-05-11 18:39:14 +09:00
Properties Merge remote-tracking branch 'upstream/master' into android 2019-01-29 18:13:43 -06:00
Replays Update HasFlag usages to HasFlagFast 2021-02-25 15:38:56 +09:00
Rulesets Merge pull request #12758 from Naxesss/verify-settings-ui 2021-05-13 14:35:35 +09:00
Scoring Fix formatting 2021-04-29 17:19:25 +08:00
Screens Merge branch 'master' into remove-skinnable-hud-classes 2021-05-13 21:06:48 +09:00
Skinning Remove dead branch and mark implementation as temporary 2021-05-13 17:50:12 +02:00
Storyboards Cache last event time value to avoid super expensive LINQ 2021-05-04 16:48:13 +09:00
Tests Add combo to test streaming client 2021-05-12 14:22:15 +09:00
Updater Update usages of config with framework changes 2021-03-17 16:10:16 +09:00
Users Add best count from api 2021-05-02 13:33:25 -07:00
Utils Merge pull request #12330 from Cublibre/master 2021-04-15 19:21:04 +09:00
osu!.res And then everything became one 2017-09-19 16:06:58 +09:00
osu.Game.csproj Update framework 2021-05-10 23:15:38 +09:00
OsuGame.cs Merge branch 'master' into skin-components-list 2021-05-06 14:17:33 +09:00
OsuGameBase.cs Tidy up initialisation code and avoid using DI on inherited class 2021-04-19 11:30:55 +09:00
PerformFromMenuRunner.cs Add flow to allow MatchSubScreen to handle beatmap presentation locally 2021-03-03 14:13:51 +09:00