-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #31307 from bdach/id3-tags
Populate metadata from ID3 tags when changing beatmap audio track in editor
- Loading branch information
Showing
3 changed files
with
69 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
// Copyright (c) ppy Pty Ltd <[email protected]>. Licensed under the MIT Licence. | ||
// See the LICENCE file in the repository root for full licence text. | ||
|
||
using System; | ||
using System.Linq; | ||
using osu.Framework.Allocation; | ||
using osu.Framework.Graphics; | ||
|
@@ -13,12 +14,15 @@ | |
|
||
namespace osu.Game.Screens.Edit.Setup | ||
{ | ||
[Cached] | ||
public partial class SetupScreen : EditorScreen | ||
{ | ||
public const float COLUMN_WIDTH = 450; | ||
public const float SPACING = 28; | ||
public const float MAX_WIDTH = 2 * COLUMN_WIDTH + SPACING; | ||
|
||
public Action? MetadataChanged { get; set; } | ||
|
||
public SetupScreen() | ||
: base(EditorScreenMode.SongSetup) | ||
{ | ||
|