mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2025-03-06 14:27:48 +00:00
BORDERS: checking if the resolution is native
This commit is contained in:
parent
246001b1f0
commit
2f25b65315
|
@ -189,9 +189,18 @@ configurator_global_presets_and_settings_dialog() {
|
|||
|
||||
"Borders" )
|
||||
log i "Configurator: opening \"$choice\" menu"
|
||||
change_preset_dialog "borders"
|
||||
configurator_global_presets_and_settings_dialog
|
||||
;;
|
||||
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"
|
||||
else
|
||||
configurator_global_presets_and_settings_dialog
|
||||
fi
|
||||
else
|
||||
change_preset_dialog "borders"
|
||||
fi
|
||||
;;
|
||||
|
||||
"Widescreen" )
|
||||
log i "Configurator: opening \"$choice\" menu"
|
||||
|
|
Loading…
Reference in a new issue