Skip to content

Commit

Permalink
Will this fix lyric display issue?
Browse files Browse the repository at this point in the history
  • Loading branch information
MATRIX-feather committed Nov 15, 2024
1 parent 87fed91 commit 61a42e1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions osu.Game.Rulesets.IGPlayer.sln.DotSettings
Original file line number Diff line number Diff line change
Expand Up @@ -802,6 +802,7 @@
<s:Boolean x:Key="/Default/Environment/SettingsMigration/IsMigratorApplied/=JetBrains_002EReSharper_002EPsi_002ECSharp_002ECodeStyle_002ECSharpPlaceEmbeddedOnSameLineMigration/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/Environment/SettingsMigration/IsMigratorApplied/=JetBrains_002EReSharper_002EPsi_002ECSharp_002ECodeStyle_002ECSharpRenamePlacementToArrangementMigration/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/Environment/SettingsMigration/IsMigratorApplied/=JetBrains_002EReSharper_002EPsi_002ECSharp_002ECodeStyle_002ECSharpUseContinuousIndentInsideBracesMigration/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/Environment/SettingsMigration/IsMigratorApplied/=JetBrains_002EReSharper_002EPsi_002ECSharp_002ECodeStyle_002EMemberReordering_002EMigrations_002ECSharpFileLayoutPatternRemoveIsAttributeUpgrade/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/Environment/SettingsMigration/IsMigratorApplied/=JetBrains_002EReSharper_002EPsi_002ECSharp_002ECodeStyle_002ESettingsUpgrade_002EAddAccessorOwnerDeclarationBracesMigration/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/Environment/SettingsMigration/IsMigratorApplied/=JetBrains_002EReSharper_002EPsi_002ECSharp_002ECodeStyle_002ESettingsUpgrade_002EAlwaysTreatStructAsNotReorderableMigration/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/Environment/SettingsMigration/IsMigratorApplied/=JetBrains_002EReSharper_002EPsi_002ECSharp_002ECodeStyle_002ESettingsUpgrade_002ECSharpPlaceAttributeOnSameLineMigration/@EntryIndexedValue">True</s:Boolean>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public string Text
Margin = getMargin(false)
}, text =>
{
if (tokenSource.Token.IsCancellationRequested)
if (tokenSource.IsCancellationRequested)
return;

lyricContainer.Add(text);
Expand Down Expand Up @@ -113,15 +113,15 @@ public string TranslatedText
Margin = getMargin(true)
}, text =>
{
if (tokenSource.Token.IsCancellationRequested)
if (tokenSource.IsCancellationRequested)
return;

text.MoveToY(0, fadeInDuration.Value, fadeInEasing)
.FadeIn(fadeInDuration.Value, fadeInEasing);

lyricContainer.Add(text);
currentLineTranslated = text;
});
}, tokenSource.Token);
});

currentRawTranslateText = value;
Expand Down

0 comments on commit 61a42e1

Please sign in to comment.