mirror of
https://github.com/Blinue/Magpie.git
synced 2026-06-24 02:04:10 +00:00
fix: 禁用帧率限制时也将最大帧率输入框禁用
This commit is contained in:
parent
5333d63900
commit
dff22fe3c8
1 changed files with 3 additions and 0 deletions
|
|
@ -249,10 +249,13 @@
|
|||
</local:SettingsExpander.Content>
|
||||
<local:SettingsExpander.Items>
|
||||
<local:SettingsCard x:Uid="Profile_Performance_FrameRateLimiter_MaxFrameRate"
|
||||
IsEnabled="{x:Bind ViewModel.IsFrameRateLimiterEnabled, Mode=OneWay}"
|
||||
IsWrapEnabled="True">
|
||||
<local:SimpleStackPanel Orientation="Horizontal"
|
||||
Spacing="8">
|
||||
<!-- 设置 Foreground 可以修复 IsEnabled 状态变化时文字颜色错误 -->
|
||||
<muxc:NumberBox VerticalAlignment="Center"
|
||||
Foreground="{ThemeResource TextFillColorPrimaryBrush}"
|
||||
LargeChange="10"
|
||||
Loaded="NumberBox_Loaded"
|
||||
Maximum="1000"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue