Ask yes or no if the screenshot was too small.

Previously this was retry or abort but those are less clear answers to
the question posed, "Try again?"
This commit is contained in:
yrriban 2026-08-02 22:38:51 -04:00
parent 639389e38f
commit b3f21a6174

View file

@ -23,7 +23,7 @@ class SS(doomcc.doom_base.WadMap):
with wand.image.Image(width=width, height=height, pseudo="x:") as img: with wand.image.Image(width=width, height=height, pseudo="x:") as img:
img.reset_coords() img.reset_coords()
if img.width < width or img.height < height: if img.width < width or img.height < height:
if not messagebox.askretrycancel( if not messagebox.askyesno(
title="Doom Command Center", title="Doom Command Center",
message=f"Image too small ({img.width}x{img.height})." message=f"Image too small ({img.width}x{img.height})."
+ "Try again?", + "Try again?",