mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 15:33:05 +08:00
Use explicit primitive type specification
This commit is contained in:
parent
0f4f1349db
commit
09701d0af1
@ -114,7 +114,7 @@ namespace osu.Game.Screens.Edit.Compose.Components
|
||||
if (selectionPerformed)
|
||||
{
|
||||
// only unmodified right click should show context menu
|
||||
var shouldShowContextMenu = e.Button == MouseButton.Right && !e.ShiftPressed && !e.AltPressed && !e.SuperPressed;
|
||||
bool shouldShowContextMenu = e.Button == MouseButton.Right && !e.ShiftPressed && !e.AltPressed && !e.SuperPressed;
|
||||
|
||||
// stop propagation if not showing context menu
|
||||
return !shouldShowContextMenu;
|
||||
|
Loading…
Reference in New Issue
Block a user