File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
src/Microsoft.DotNet.Wpf/src/PresentationFramework/System Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments