mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2026-04-21 06:02:54 +00:00
Improve Motion/Rumble/LED Windows
Due to resizing issues.
This commit is contained in:
@@ -29,7 +29,20 @@ namespace Ryujinx.Ava.UI.ViewModels.Input
|
||||
[ObservableProperty]
|
||||
public partial Color LedColor { get; set; }
|
||||
|
||||
public string RainbowSpeedText => RainbowSpeed.ToString("F2", CultureInfo.CurrentCulture);
|
||||
public string RainbowSpeedText
|
||||
{
|
||||
get
|
||||
{
|
||||
if (RainbowSpeed == 10)
|
||||
{
|
||||
return RainbowSpeed.ToString("F1", CultureInfo.CurrentCulture);
|
||||
}
|
||||
else
|
||||
{
|
||||
return RainbowSpeed.ToString("F2", CultureInfo.CurrentCulture);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public float RainbowSpeed
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user