Skip to content
This repository has been archived by the owner on Jun 11, 2023. It is now read-only.

Commit

Permalink
new: 像osu!设置添加新增的歌词插件设置
Browse files Browse the repository at this point in the history
  • Loading branch information
MATRIX-feather committed Aug 15, 2021
1 parent de229e3 commit 823e856
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions Mvis.Plugin.CloudMusicSupport/UI/LyricSettingsSubSection.cs
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,35 @@ private void load()
LabelText = CloudMusicStrings.LyricAutoScrollMain,
Current = config.GetBindable<bool>(LyricSettings.AutoScrollToCurrent)
},
new SettingsDropdown<Anchor>
{
LabelText = CloudMusicStrings.LocationDirection,
Current = config.GetBindable<Anchor>(LyricSettings.LyricDirection),
Items = new[]
{
Anchor.TopLeft,
Anchor.TopCentre,
Anchor.TopRight,
Anchor.CentreLeft,
Anchor.Centre,
Anchor.CentreRight,
Anchor.BottomLeft,
Anchor.BottomCentre,
Anchor.BottomRight,
}
},
new SettingsSlider<float>
{
LabelText = CloudMusicStrings.PositionX,
Current = config.GetBindable<float>(LyricSettings.LyricPositionX),
DisplayAsPercentage = true
},
new SettingsSlider<float>
{
LabelText = CloudMusicStrings.PositionY,
Current = config.GetBindable<float>(LyricSettings.LyricPositionY),
DisplayAsPercentage = true
}
};

useDrawablePoolCheckBox.WarningText = CloudMusicStrings.ExperimentalWarning;
Expand Down

0 comments on commit 823e856

Please sign in to comment.