1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-17 02:12:56 +08:00
osu-lazer/osu.Game/Screens/Edit/Compose
Dean Herbert 9c62c90cfc Refactor SelectionBlueprint and MoveSelectionEvent to work in screen-space coordinates
Until now, the implementation of the overrides in `SelectionBlueprint`
have been confusing to the point where I would just implement by
trial-and-error (or copying from an existing implementation). This was
due to a combination of using "object" space coordinates
(ie. the thing the `Blueprint` is operating on) and screen-space coordinates.

This change switches all event related coordinates to screen-space,
which is how we already handle rotation/scale operations. With the
introduction of other editor types where the related objects are
drawables, this also makes a lot more sense.
2021-04-29 16:10:42 +09:00
..
Components Refactor SelectionBlueprint and MoveSelectionEvent to work in screen-space coordinates 2021-04-29 16:10:42 +09:00
ComposeScreen.cs Avoid using a StringBuilder 2021-03-29 18:51:28 +09:00
IPlacementHandler.cs Add commit status to EndPlacement; call BeginPlacement on initial movement 2020-02-07 18:02:48 +09:00