From 8e4a77aba09652b0579fe5da5f1e7b3caaae7556 Mon Sep 17 00:00:00 2001 From: Evan Husted Date: Mon, 30 Dec 2024 00:09:19 -0600 Subject: [PATCH] UI: Text in the shader translation slider tooltip --- src/Ryujinx/UI/ViewModels/SettingsViewModel.cs | 4 +++- src/Ryujinx/UI/Views/Settings/SettingsHacksView.axaml | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/Ryujinx/UI/ViewModels/SettingsViewModel.cs b/src/Ryujinx/UI/ViewModels/SettingsViewModel.cs index 0afa01fc2..8126b3c7d 100644 --- a/src/Ryujinx/UI/ViewModels/SettingsViewModel.cs +++ b/src/Ryujinx/UI/ViewModels/SettingsViewModel.cs @@ -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)); } } diff --git a/src/Ryujinx/UI/Views/Settings/SettingsHacksView.axaml b/src/Ryujinx/UI/Views/Settings/SettingsHacksView.axaml index b4e3437ff..c6a61dfad 100644 --- a/src/Ryujinx/UI/Views/Settings/SettingsHacksView.axaml +++ b/src/Ryujinx/UI/Views/Settings/SettingsHacksView.axaml @@ -56,7 +56,7 @@