]> glassweightruler.freedombox.rocks Git - Ventoy.git/blobdiff - INSTALL/grub/debug.cfg
Add resolution_fit option in theme plugin.
[Ventoy.git] / INSTALL / grub / debug.cfg
index 04fe2ea321379e7cc8bd6d098d1a08788ea60b96..9dd977f4dfd60cce22e132b16bdbbb1e3de7c341 100644 (file)
@@ -24,7 +24,10 @@ submenu "$VTLANG_RESOLUTION_CFG" --class=debug_resolution --class=F5tool {
         menuentry "$vtCurMode $vtActive" --class=debug_videomode --class=debug_resolution --class=F5tool VTOY_RUN_RET {
             terminal_output console
             set gfxmode=$1
-            terminal_output gfxterm
+            terminal_output gfxterm            
+            if [ "$vtoy_res_fit" = "1" ]; then
+                vt_set_theme switch
+            fi
         }
 
         vt_incr vdid 1