@@ -159,7 +159,6 @@ public OptionsForm(UserSettings settings, UpdateManager updateManager, bool init
159159 // Video tab
160160 checkDynamicShadows . Checked = Settings . DynamicShadows ;
161161 checkShadowAllShapes . Checked = Settings . ShadowAllShapes ;
162- checkWindowGlass . Checked = Settings . WindowGlass ;
163162 checkModelInstancing . Checked = Settings . ModelInstancing ;
164163 checkWire . Checked = Settings . Wire ;
165164 checkVerticalSync . Checked = Settings . VerticalSync ;
@@ -304,6 +303,8 @@ orderby folder.Key
304303
305304 checkWindowed . Checked = ! Settings . FullScreen ;
306305 comboWindowSize . Text = Settings . WindowSize ;
306+ checkWindowGlass . Checked = Settings . WindowGlass ;
307+
307308
308309
309310
@@ -443,7 +444,6 @@ void buttonOK_Click(object sender, EventArgs e)
443444 // Video tab
444445 Settings . DynamicShadows = checkDynamicShadows . Checked ;
445446 Settings . ShadowAllShapes = checkShadowAllShapes . Checked ;
446- Settings . WindowGlass = checkWindowGlass . Checked ;
447447 Settings . ModelInstancing = checkModelInstancing . Checked ;
448448 Settings . Wire = checkWire . Checked ;
449449 Settings . VerticalSync = checkVerticalSync . Checked ;
@@ -500,6 +500,7 @@ void buttonOK_Click(object sender, EventArgs e)
500500 UpdateManager . SetChannel ( ( string ) control . Tag ) ;
501501 Settings . FullScreen = ! checkWindowed . Checked ;
502502 Settings . WindowSize = GetValidWindowSize ( comboWindowSize . Text ) ;
503+ Settings . WindowGlass = checkWindowGlass . Checked ;
503504
504505 // Experimental tab
505506 Settings . UseSuperElevation = ( int ) numericUseSuperElevation . Value ;
@@ -834,6 +835,7 @@ private void InitializeHelpIcons()
834835 ( pbLanguage , new Control [ ] { labelLanguage , comboLanguage } ) ,
835836 ( pbUpdateMode , new Control [ ] { labelUpdateMode } ) ,
836837 ( pbWindowed , new Control [ ] { checkWindowed , labelWindowSize , comboWindowSize } ) ,
838+ ( pbWindowGlass , new [ ] { checkWindowGlass } ) ,
837839 } ;
838840 foreach ( ( PictureBox pb , Control [ ] controls ) in helpIconControls )
839841 {
@@ -903,6 +905,10 @@ private void HelpIcon_Click(object sender, EventArgs _)
903905 pbWindowed ,
904906 baseUrl + "/options.html#windowed"
905907 } ,
908+ {
909+ pbWindowGlass ,
910+ baseUrl + "/options.html#window-glass"
911+ } ,
906912 } ;
907913 if ( urls . TryGetValue ( sender , out var url ) )
908914 {
0 commit comments