mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-30 20:21:12 -06:00 
			
		
		
		
	Win11 specific: Added workaround for implicit set of the dark mode
This commit is contained in:
		
							parent
							
								
									c921d6f936
								
							
						
					
					
						commit
						e1104d5f7d
					
				
					 1 changed files with 4 additions and 1 deletions
				
			
		|  | @ -865,8 +865,11 @@ bool GUI_App::on_init_inner() | |||
|     wxInitAllImageHandlers(); | ||||
| 
 | ||||
| #ifdef _MSW_DARK_MODE | ||||
|     if (app_config->get("dark_color_mode") == "1") | ||||
|     if (bool dark_mode = app_config->get("dark_color_mode") == "1") { | ||||
|         NppDarkMode::InitDarkMode(); | ||||
|         if (dark_mode != NppDarkMode::IsDarkMode()) | ||||
|             NppDarkMode::SetDarkMode(dark_mode); | ||||
|     } | ||||
| #endif | ||||
|     SplashScreen* scrn = nullptr; | ||||
|     if (app_config->get("show_splash_screen") == "1") { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 YuSanka
						YuSanka