mirror of
https://git.ryujinx.app/projects/Kenji-NX.git
synced 2026-10-08 01:48:52 +02:00
Custom resolution scale changes
* Remove rounding (no longer rounds to the nearest 0.1) * Decrease maximum resolution scale from 100 to 10
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user