mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-11-27 23:11:23 +08:00
Set StarDefinitionsCanExceedAvailableSpace switch to fix the crash (#31022)
This commit is contained in:
parent
f07c2314a9
commit
c25232833b
@ -55,6 +55,10 @@ namespace PowerLauncher
|
||||
_viewModel = mainVM;
|
||||
_nativeWaiterCancelToken = nativeWaiterCancelToken;
|
||||
_settings = settings;
|
||||
|
||||
// Fixes #30850
|
||||
AppContext.SetSwitch("Switch.System.Windows.Controls.Grid.StarDefinitionsCanExceedAvailableSpace", true);
|
||||
|
||||
InitializeComponent();
|
||||
|
||||
if (OSVersionHelper.IsWindows11())
|
||||
|
Loading…
Reference in New Issue
Block a user