UI: clean up slider UI for shader translation delay

This commit is contained in:
Evan Husted
2024-12-31 20:11:49 -06:00
parent 6286501550
commit 3525d5ecd4
2 changed files with 23 additions and 17 deletions

View File

@@ -40,7 +40,7 @@ namespace Ryujinx.Ava.UI.ViewModels
}
}
public string ShaderTranslationDelayTooltipText => $"Current value: {ShaderTranslationDelay}";
public string ShaderTranslationDelayValueText => $"{ShaderTranslationDelay}ms";
public int ShaderTranslationDelay
{
@@ -49,7 +49,7 @@ namespace Ryujinx.Ava.UI.ViewModels
{
_shaderTranslationSleepDelay = value;
OnPropertiesChanged(nameof(ShaderTranslationDelay), nameof(ShaderTranslationDelayTooltipText));
OnPropertiesChanged(nameof(ShaderTranslationDelay), nameof(ShaderTranslationDelayValueText));
}
}