mirror of
https://git.ryujinx.app/projects/Ryubing.git
synced 2026-10-23 13:12:20 -05:00
UI: Text in the shader translation slider tooltip
This commit is contained in:
1 parent
8fd8a776c9
commit
8e4a77aba0
2 files changed
+4
-2
No files matched your search
@@ -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"
|
||||
|
||||
Reference in new issue
Block a user