mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-05 10:46:33 +02:00
## Summary of the Pull Request - #39572 updated check-spelling but ignored: > 🐣 Breaking Changes [Code Scanning action requires a Code Scanning Ruleset](https://github.com/check-spelling/check-spelling/wiki/Breaking-Change:-Code-Scanning-action-requires-a-Code-Scanning-Ruleset) If you use SARIF reporting, then instead of the workflow yielding an ❌ when it fails, it will rely on [github-advanced-security 🤖](https://github.com/apps/github-advanced-security) to report the failure. You will need to adjust your checks for PRs. This means that check-spelling hasn't been properly doing its job 😦. I'm sorry, I should have pushed a thing to this repo earlier,... Anyway, as with most refreshes, this comes with a number of fixes, some are fixes for typos that snuck in before the 0.0.25 upgrade, some are for things that snuck in after, some are based on new rules in spell-check-this, and some are hand written patterns based on running through this repository a few times. About the 🐣 **breaking change**: someone needs to create a ruleset for this repository (see [Code Scanning action requires a Code Scanning Ruleset: Sample ruleset ](https://github.com/check-spelling/check-spelling/wiki/Breaking-Change:-Code-Scanning-action-requires-a-Code-Scanning-Ruleset#sample-ruleset)). The alternative to adding a ruleset is to change the condition to not use sarif for this repository. In general, I think the github integration from sarif is prettier/more helpful, so I think that it's the better choice. You can see an example of it working in: - https://github.com/check-spelling-sandbox/PowerToys/pull/23 --------- Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> Co-authored-by: Mike Griese <migrie@microsoft.com> Co-authored-by: Dustin L. Howett <dustin@howett.net>
92 lines
3.1 KiB
C#
92 lines
3.1 KiB
C#
// Copyright (c) Microsoft Corporation
|
|
// The Microsoft Corporation licenses this file to you under the MIT license.
|
|
// See the LICENSE file in the project root for more information.
|
|
|
|
using System.Text.Json.Serialization;
|
|
using Settings.UI.Library.Attributes;
|
|
|
|
namespace Microsoft.PowerToys.Settings.UI.Library
|
|
{
|
|
public class ZoomItProperties
|
|
{
|
|
public ZoomItProperties()
|
|
{
|
|
}
|
|
|
|
[CmdConfigureIgnore]
|
|
public static HotkeySettings DefaultToggleKey => new HotkeySettings(false, true, false, false, '1'); // Ctrl+1
|
|
|
|
[CmdConfigureIgnore]
|
|
public static HotkeySettings DefaultLiveZoomToggleKey => new HotkeySettings(false, true, false, false, '4'); // Ctrl+4
|
|
|
|
[CmdConfigureIgnore]
|
|
public static HotkeySettings DefaultDrawToggleKey => new HotkeySettings(false, true, false, false, '2'); // Ctrl+2
|
|
|
|
[CmdConfigureIgnore]
|
|
public static HotkeySettings DefaultRecordToggleKey => new HotkeySettings(false, true, false, false, '5'); // Ctrl+5
|
|
|
|
[CmdConfigureIgnore]
|
|
public static HotkeySettings DefaultSnipToggleKey => new HotkeySettings(false, true, false, false, '6'); // Ctrl+6
|
|
|
|
[CmdConfigureIgnore]
|
|
public static HotkeySettings DefaultBreakTimerKey => new HotkeySettings(false, true, false, false, '3'); // Ctrl+3
|
|
|
|
[CmdConfigureIgnore]
|
|
public static HotkeySettings DefaultDemoTypeToggleKey => new HotkeySettings(false, true, false, false, '7'); // Ctrl+7
|
|
|
|
public KeyboardKeysProperty ToggleKey { get; set; }
|
|
|
|
public KeyboardKeysProperty LiveZoomToggleKey { get; set; }
|
|
|
|
public KeyboardKeysProperty DrawToggleKey { get; set; }
|
|
|
|
public KeyboardKeysProperty RecordToggleKey { get; set; }
|
|
|
|
public KeyboardKeysProperty SnipToggleKey { get; set; }
|
|
|
|
public KeyboardKeysProperty BreakTimerKey { get; set; }
|
|
|
|
public StringProperty Font { get; set; }
|
|
|
|
public KeyboardKeysProperty DemoTypeToggleKey { get; set; }
|
|
|
|
public StringProperty DemoTypeFile { get; set; }
|
|
|
|
public IntProperty DemoTypeSpeedSlider { get; set; }
|
|
|
|
public BoolProperty DemoTypeUserDrivenMode { get; set; }
|
|
|
|
public IntProperty BreakTimeout { get; set; }
|
|
|
|
public IntProperty BreakOpacity { get; set; }
|
|
|
|
public BoolProperty BreakPlaySoundFile { get; set; }
|
|
|
|
public StringProperty BreakSoundFile { get; set; }
|
|
|
|
public BoolProperty BreakShowBackgroundFile { get; set; }
|
|
|
|
public BoolProperty BreakBackgroundStretch { get; set; }
|
|
|
|
public StringProperty BreakBackgroundFile { get; set; }
|
|
|
|
public IntProperty BreakTimerPosition { get; set; }
|
|
|
|
public BoolProperty BreakShowDesktop { get; set; }
|
|
|
|
public BoolProperty ShowExpiredTime { get; set; }
|
|
|
|
public BoolProperty ShowTrayIcon { get; set; }
|
|
|
|
public BoolProperty AnimateZoom { get; set; }
|
|
|
|
public IntProperty ZoominSliderLevel { get; set; }
|
|
|
|
public IntProperty RecordScaling { get; set; }
|
|
|
|
public BoolProperty CaptureAudio { get; set; }
|
|
|
|
public StringProperty MicrophoneDeviceId { get; set; }
|
|
}
|
|
}
|