Skip to content

Commit 380ceef

Browse files
author
Mirroring
committed
Merge commit '818d7fedf1ff6bcfa005a1fc67627b63353ffbc7'
2 parents beaffa4 + 818d7fe commit 380ceef

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/AppContextDefaultValues.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,9 @@ private static void InitializeNetFxSwitchDefaultsForNetCoreRuntime()
7474
LocalAppContext.DefineSwitchDefault(FrameworkAppContextSwitches.KeyboardNavigationFromHyperlinkInItemsControlIsNotRelativeToFocusedElementSwitchName, false);
7575
LocalAppContext.DefineSwitchDefault(FrameworkAppContextSwitches.ItemAutomationPeerKeepsItsItemAliveSwitchName, false);
7676
LocalAppContext.DefineSwitchDefault(FrameworkAppContextSwitches.DisableFluentThemeWindowBackdropSwitchName, false);
77+
LocalAppContext.DefineSwitchDefault(FrameworkAppContextSwitches.DisableDynamicResourceOptimizationSwitchName, true);
7778

78-
// UseAdornerForTextboxSelectionRenderingSwitchName is always true, i.e., disabled by default.
79+
// UseAdornerForTextboxSelectionRenderingSwitchName is always true, i.e., disabled by default.
7980
// Do not initialized this again - this was initialized earlier in PopulateDefaultValuesPartial unconditionally.
8081
// LocalAppContext.DefineSwitchDefault(FrameworkAppContextSwitches.UseAdornerForTextboxSelectionRenderingSwitchName, true);
8182
}

0 commit comments

Comments
 (0)