diff --git a/src/modules/ZoomIt/ZoomIt/Zoomit.cpp b/src/modules/ZoomIt/ZoomIt/Zoomit.cpp index 3d59f872c2..7ebfced961 100644 --- a/src/modules/ZoomIt/ZoomIt/Zoomit.cpp +++ b/src/modules/ZoomIt/ZoomIt/Zoomit.cpp @@ -3630,12 +3630,12 @@ LRESULT APIENTRY MainWndProc( g_SnipToggleMod = GetKeyMod( g_SnipToggleKey ); g_RecordToggleMod = GetKeyMod( g_RecordToggleKey ); - if( !g_OptionsShown ) { - + if( !g_OptionsShown && !g_StartedByPowerToys ) { + // First run should show options when running as standalone. If not running as standalone, + // options screen won't show and we should register keys instead. SendMessage( hWnd, WM_COMMAND, IDC_OPTIONS, 0 ); g_OptionsShown = TRUE; reg.WriteRegSettings( RegSettings ); - } else { BOOL showOptions = FALSE; diff --git a/src/settings-ui/Settings.UI.Library/ZoomItProperties.cs b/src/settings-ui/Settings.UI.Library/ZoomItProperties.cs index a531b987ab..3cd7562673 100644 --- a/src/settings-ui/Settings.UI.Library/ZoomItProperties.cs +++ b/src/settings-ui/Settings.UI.Library/ZoomItProperties.cs @@ -48,8 +48,6 @@ namespace Microsoft.PowerToys.Settings.UI.Library public IntProperty PenWidth { get; set; } - public BoolProperty OptionsShown { get; set; } - public StringProperty BreakPenColor { get; set; } public KeyboardKeysProperty BreakTimerKey { get; set; }