mirror of
https://github.com/ppy/osu.git
synced 2025-01-06 04:13:11 +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)
|
if (selectionPerformed)
|
||||||
{
|
{
|
||||||
// only unmodified right click should show context menu
|
// 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
|
// stop propagation if not showing context menu
|
||||||
return !shouldShowContextMenu;
|
return !shouldShowContextMenu;
|
||||||
|
Loading…
Reference in New Issue
Block a user