mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 23:02:08 +00:00
- relaxed conditions for shortening the sliders so that they remain at full size at 800x600.
SVN r2771 (trunk)
This commit is contained in:
parent
8308a35345
commit
ecb34b8302
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ void M_DrawSlider (int x, int y, double min, double max, double cur,int fracdigi
|
||||||
range = max - min;
|
range = max - min;
|
||||||
double ccur = clamp(cur, min, max) - min;
|
double ccur = clamp(cur, min, max) - min;
|
||||||
|
|
||||||
if (CleanXfac > CleanXfac_1)
|
if (CleanXfac > CleanXfac_1 || CleanXfac_1 * 320 < screen->GetWidth())
|
||||||
{
|
{
|
||||||
M_DrawConText(CR_WHITE, x, y, "\x10\x11\x11\x11\x11\x11\x11\x11\x11\x11\x11\x12");
|
M_DrawConText(CR_WHITE, x, y, "\x10\x11\x11\x11\x11\x11\x11\x11\x11\x11\x11\x12");
|
||||||
M_DrawConText(CR_ORANGE, x + int((5 + ((ccur * 78) / range)) * CleanXfac_1), y, "\x13");
|
M_DrawConText(CR_ORANGE, x + int((5 + ((ccur * 78) / range)) * CleanXfac_1), y, "\x13");
|
||||||
|
|
Loading…
Reference in a new issue