mirror of
https://github.com/GreemDev/Ryujinx.git
synced 2025-01-08 06:01:58 +00:00
UI: Text in the shader translation slider tooltip
This commit is contained in:
parent
8fd8a776c9
commit
8e4a77aba0
2 changed files with 4 additions and 2 deletions
|
@ -300,6 +300,8 @@ namespace Ryujinx.Ava.UI.ViewModels
|
|||
OnPropertyChanged();
|
||||
}
|
||||
}
|
||||
|
||||
public string ShaderTranslationDelayTooltipText => $"Current value: {ShaderTranslationDelay}";
|
||||
|
||||
public int ShaderTranslationDelay
|
||||
{
|
||||
|
@ -308,7 +310,7 @@ namespace Ryujinx.Ava.UI.ViewModels
|
|||
{
|
||||
_shaderTranslationSleepDelay = value;
|
||||
|
||||
OnPropertyChanged();
|
||||
OnPropertiesChanged(nameof(ShaderTranslationDelay), nameof(ShaderTranslationDelayTooltipText));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -56,7 +56,7 @@
|
|||
</StackPanel>
|
||||
<Slider HorizontalAlignment="Center"
|
||||
Value="{Binding ShaderTranslationDelay}"
|
||||
ToolTip.Tip="{Binding ShaderTranslationDelay}"
|
||||
ToolTip.Tip="{Binding ShaderTranslationDelayTooltipText}"
|
||||
Width="175"
|
||||
Margin="0,-3,0,0"
|
||||
Height="32"
|
||||
|
|
Loading…
Reference in a new issue