Add custom refresh rate mode to VSync option #238

Merged
KeatonTheBot merged 4 commits from refreshinterval into master 2024-11-25 19:39:09 +00:00
2 changed files with 7 additions and 4 deletions
Showing only changes of commit 3737f5cefe - Show all commits

View File

@ -1,7 +1,8 @@
<Styles <Styles
xmlns="https://github.com/avaloniaui" xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:ui="clr-namespace:FluentAvalonia.UI.Controls;assembly=FluentAvalonia"> xmlns:ui="clr-namespace:FluentAvalonia.UI.Controls;assembly=FluentAvalonia"
xmlns:windowing="clr-namespace:FluentAvalonia.UI.Windowing;assembly=FluentAvalonia">
<Design.PreviewWith> <Design.PreviewWith>
<Border Height="2000" <Border Height="2000"
Padding="20"> Padding="20">
@ -231,7 +232,7 @@
<Setter Property="BorderBrush" <Setter Property="BorderBrush"
Value="{DynamicResource HighlightBrush}" /> Value="{DynamicResource HighlightBrush}" />
</Style> </Style>
<Style Selector="Button"> <Style Selector="Button:not(windowing|MinMaxCloseControl Button)">
<Setter Property="MinWidth" <Setter Property="MinWidth"
Value="80" /> Value="80" />
</Style> </Style>

View File

@ -6,8 +6,10 @@
xmlns:ext="clr-namespace:Ryujinx.Ava.Common.Markup" xmlns:ext="clr-namespace:Ryujinx.Ava.Common.Markup"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:viewModel="clr-namespace:Ryujinx.Ava.UI.ViewModels" xmlns:viewModel="clr-namespace:Ryujinx.Ava.UI.ViewModels"
Width="550" MinWidth="550"
Height="260" MinHeight="260"
MaxWidth="600"
MaxHeight="500"
Margin="0,-12,0,0" Margin="0,-12,0,0"
d:DesignHeight="260" d:DesignHeight="260"
d:DesignWidth="550" d:DesignWidth="550"