Skip to content

Commit 3889e76

Browse files
committed
1.7.17-2
Resolution fix
1 parent 9431366 commit 3889e76

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

Source/HDRProfile/Displays/DisplayManager.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,6 @@ private void UpdateMonitorLoop()
9191
monitor.UpdateHDRState();
9292
if (monitor.Managed)
9393
currentValue = currentValue || monitor.HDRState;
94-
monitor.Resolution = GetResolution(monitor.UID);
95-
monitor.RefreshRate = GetRefreshRate(monitor.ID);
96-
9794
}
9895
bool changed = GlobalHDRIsActive != currentValue;
9996
GlobalHDRIsActive = currentValue;

Source/HDRProfile/Views/DisplayManagerView.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454

5555
<TextBlock Grid.Column="1" Grid.Row="2" Text="{Binding UID}" Margin="5" VerticalAlignment="Center" HorizontalAlignment="Left" />
5656

57-
<TextBlock Grid.Column="1" Grid.Row="3" Text="{Binding Resolution}" Margin="5" VerticalAlignment="Center" HorizontalAlignment="Left" />
57+
<TextBlock Grid.Column="1" Grid.Row="3" Text="{Binding Resolution, Converter={StaticResource SizeTextConverter}}" Margin="5" VerticalAlignment="Center" HorizontalAlignment="Left" />
5858
<TextBlock Grid.Column="1" Grid.Row="4" Text="{Binding RefreshRate}" Margin="5" VerticalAlignment="Center" HorizontalAlignment="Left" />
5959
<TextBlock Grid.Column="1" Grid.Row="5" Text="{Binding GraphicsCard}" Margin="5" VerticalAlignment="Center" HorizontalAlignment="Left" MaxWidth="250" TextTrimming="CharacterEllipsis" ToolTip="{Binding GraphicsCard}"/>
6060

0 commit comments

Comments
 (0)