mirror of
https://github.com/KeatonTheBot/Ryujinx.git
synced 2026-04-21 13:21:56 +00:00
Custom resolution scale changes
Some checks failed
Release job / Create tag (push) Has been cancelled
Release job / Release for linux-arm64 (push) Has been cancelled
Release job / Release for linux-x64 (push) Has been cancelled
Release job / Release for win-x64 (push) Has been cancelled
Release job / Release MacOS universal (push) Has been cancelled
Release job / flatpak_release (push) Has been cancelled
Some checks failed
Release job / Create tag (push) Has been cancelled
Release job / Release for linux-arm64 (push) Has been cancelled
Release job / Release for linux-x64 (push) Has been cancelled
Release job / Release for win-x64 (push) Has been cancelled
Release job / Release MacOS universal (push) Has been cancelled
Release job / flatpak_release (push) Has been cancelled
* Remove rounding (no longer rounds to the nearest 0.1) * Decrease maximum resolution scale from 100 to 10
This commit is contained in:
parent
04865d2710
commit
ceb50c0a4d
2 changed files with 2 additions and 2 deletions
|
|
@ -95,7 +95,7 @@ namespace Ryujinx.Ava.UI.ViewModels
|
||||||
get => _customResolutionScale;
|
get => _customResolutionScale;
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
_customResolutionScale = MathF.Round(value, 1);
|
_customResolutionScale = value;
|
||||||
|
|
||||||
OnPropertyChanged();
|
OnPropertyChanged();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -113,7 +113,7 @@
|
||||||
SimpleNumberFormat="F2"
|
SimpleNumberFormat="F2"
|
||||||
SpinButtonPlacementMode="Inline"
|
SpinButtonPlacementMode="Inline"
|
||||||
IsVisible="{Binding IsCustomResolutionScaleActive}"
|
IsVisible="{Binding IsCustomResolutionScaleActive}"
|
||||||
Maximum="100"
|
Maximum="10"
|
||||||
Minimum="0.1"
|
Minimum="0.1"
|
||||||
Value="{Binding CustomResolutionScale}" />
|
Value="{Binding CustomResolutionScale}" />
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue