1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 18:42:56 +08:00
osu-lazer/osu.Game/Screens/Edit/Compose
Dean Herbert 57d88a0ac4
Fix right clicks on timeline objects potentially getting eaten by playfield area
`SelectionHandler` is receiving input from anywhere out of necessity:

19f892687a/osu.Game/Screens/Edit/Compose/Components/SelectionHandler.cs (L119-L125)

Also important is that `BlueprintContainer` will selectively not block
right clicks to make sure they fall through to the
`ContextMenuContainer`:

19f892687a/osu.Game/Screens/Edit/Compose/Components/BlueprintContainer.cs (L122-L126)

But because the whole editor is sharing a `ContextMenuContainer` and
it's at a higher level than both components, we observe here the
playfield's `SelectionHandler` intercepting the right click before it
can reach the `ContextMenuContainer`.

The fix here is similar to what we're already doing in
`TimelineBlueprintContaienr`.
2023-10-30 18:06:11 +09:00
..
Components Fix right clicks on timeline objects potentially getting eaten by playfield area 2023-10-30 18:06:11 +09:00
ComposeScreen.cs Resolve Clipboard via DI 2023-07-11 11:42:31 +02:00
HitObjectUsageEventBuffer.cs Automated #nullable processing 2022-06-17 16:37:17 +09:00
IPlacementHandler.cs Automated pass 2023-06-24 01:00:03 +09:00