mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-12-16 11:48:06 +01:00
Fixes
This commit is contained in:
@@ -3,7 +3,6 @@
|
||||
x:Class="PowerDisplay.App"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:converters="using:PowerDisplay.Converters"
|
||||
xmlns:toolkit="using:CommunityToolkit.WinUI">
|
||||
<Application.Resources>
|
||||
<ResourceDictionary>
|
||||
|
||||
@@ -250,7 +250,7 @@
|
||||
<Button
|
||||
x:Name="SettingsBtn"
|
||||
x:Uid="SettingsTooltip"
|
||||
Padding="8"
|
||||
Padding="6"
|
||||
Click="OnSettingsClick"
|
||||
Style="{StaticResource FlyoutButtonStyle}">
|
||||
<ToolTipService.ToolTip>
|
||||
|
||||
@@ -99,9 +99,6 @@ namespace PowerDisplay
|
||||
_viewModel.UIRefreshRequested += OnUIRefreshRequested;
|
||||
_viewModel.Monitors.CollectionChanged += OnMonitorsCollectionChanged;
|
||||
_viewModel.PropertyChanged += OnViewModelPropertyChanged;
|
||||
|
||||
// Button events
|
||||
DisableButton.Click += OnDisableClick;
|
||||
}
|
||||
|
||||
private bool _hasInitialized;
|
||||
|
||||
@@ -404,14 +404,14 @@ public partial class MonitorViewModel : INotifyPropertyChanged, IDisposable
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Color temperature VCP preset value (from VCP code 0x14).
|
||||
/// Gets color temperature VCP preset value (from VCP code 0x14).
|
||||
/// Read-only in flyout UI - controlled via Settings UI.
|
||||
/// Returns the raw VCP value (e.g., 0x05 for 6500K).
|
||||
/// </summary>
|
||||
public int ColorTemperature => _monitor.CurrentColorTemperature;
|
||||
|
||||
/// <summary>
|
||||
/// Human-readable color temperature preset name (e.g., "6500K", "sRGB")
|
||||
/// Gets human-readable color temperature preset name (e.g., "6500K", "sRGB")
|
||||
/// </summary>
|
||||
public string ColorTemperaturePresetName => _monitor.ColorTemperaturePresetName;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user