the color dialog now shows full hex color

This commit is contained in:
Zeno Rogue 2020-11-05 15:15:33 +01:00
parent 80ab04de36
commit d80becb63b
1 changed files with 1 additions and 1 deletions

View File

@ -708,7 +708,7 @@ EX namespace dialog {
getcstat = 'A' + i, inslider = true;
}
displayColorButton(dcenter, vid.yres/2+vid.fsize * 6, XLAT("select this color") + " : " + itsh(color), ' ', 8, 0, color >> (colorAlpha ? ash : 0));
displayColorButton(dcenter, vid.yres/2+vid.fsize * 6, XLAT("select this color") + " : " + format(colorAlpha ? "%08X" : "%06X", color), ' ', 8, 0, color >> (colorAlpha ? ash : 0));
if(extra_options) extra_options();