mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2025-04-10 19:15:12 +00:00
BORDERS: checking if the resolution is native
This commit is contained in:
parent
246001b1f0
commit
2f25b65315
|
@ -189,8 +189,17 @@ configurator_global_presets_and_settings_dialog() {
|
||||||
|
|
||||||
"Borders" )
|
"Borders" )
|
||||||
log i "Configurator: opening \"$choice\" menu"
|
log i "Configurator: opening \"$choice\" menu"
|
||||||
|
if [[ $native_resolution == false ]]; then
|
||||||
|
rd_zenity --question --text="Borders are actually supported for ${width}x${height} resolution at the moment. This can be set in the Steam shortcut.\n\nDo you still want to continue?"
|
||||||
|
response=$? # Capture the exit code immediately
|
||||||
|
if [ "$response" -eq 0 ]; then
|
||||||
change_preset_dialog "borders"
|
change_preset_dialog "borders"
|
||||||
|
else
|
||||||
configurator_global_presets_and_settings_dialog
|
configurator_global_presets_and_settings_dialog
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
change_preset_dialog "borders"
|
||||||
|
fi
|
||||||
;;
|
;;
|
||||||
|
|
||||||
"Widescreen" )
|
"Widescreen" )
|
||||||
|
|
Loading…
Reference in a new issue