mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-12-23 23:20:05 +01:00
Fixing lat/lon boxes
This commit is contained in:
@@ -407,6 +407,41 @@ namespace Microsoft.PowerToys.Settings.UI.ViewModels
|
||||
}
|
||||
}
|
||||
|
||||
private int _locationPanelLightTime;
|
||||
private int _locationPanelDarkTime;
|
||||
|
||||
public int LocationPanelLightTimeMinutes
|
||||
{
|
||||
get => _locationPanelLightTime;
|
||||
set
|
||||
{
|
||||
if (_locationPanelLightTime != value)
|
||||
{
|
||||
_locationPanelLightTime = value;
|
||||
NotifyPropertyChanged();
|
||||
NotifyPropertyChanged(nameof(LocationPanelLightTime));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public int LocationPanelDarkTimeMinutes
|
||||
{
|
||||
get => _locationPanelDarkTime;
|
||||
set
|
||||
{
|
||||
if (_locationPanelDarkTime != value)
|
||||
{
|
||||
_locationPanelDarkTime = value;
|
||||
NotifyPropertyChanged();
|
||||
NotifyPropertyChanged(nameof(LocationPanelDarkTime));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public TimeSpan LocationPanelLightTime => TimeSpan.FromMinutes(_locationPanelLightTime);
|
||||
|
||||
public TimeSpan LocationPanelDarkTime => TimeSpan.FromMinutes(_locationPanelDarkTime);
|
||||
|
||||
public HotkeySettings ToggleThemeActivationShortcut
|
||||
{
|
||||
get => ModuleSettings.Properties.ToggleThemeHotkey.Value;
|
||||
|
||||
Reference in New Issue
Block a user