BORDERS: checking if the resolution is native
Some checks failed
Build RetroDECK / Build_RetroDECK (push) Has been cancelled
Build RetroDECK / GitHub-publish (push) Has been cancelled
Build RetroDECK / Automated_Tests (push) Has been cancelled

This commit is contained in:
XargonWan 2025-02-18 11:57:23 +09:00
parent 246001b1f0
commit 2f25b65315

View file

@ -189,8 +189,17 @@ configurator_global_presets_and_settings_dialog() {
"Borders" )
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"
else
configurator_global_presets_and_settings_dialog
fi
else
change_preset_dialog "borders"
fi
;;
"Widescreen" )