mirror of
https://bitbucket.org/mfeemster/fractorium.git
synced 2025-01-22 05:30:06 -05:00
--Bug fixes:
-Wraparound bug when generating random flames. -Make combo boxes have zero margins, they were getting clipped on Linux.
This commit is contained in:
parent
2f0227755b
commit
63f0d5cdad
@ -1095,9 +1095,9 @@ public:
|
|||||||
if (rand.Rand() & 1)
|
if (rand.Rand() & 1)
|
||||||
sym = symDistrib[rand.Rand() % Vlen(symDistrib)];
|
sym = symDistrib[rand.Rand() % Vlen(symDistrib)];
|
||||||
else if (rand.Rand() & 31)
|
else if (rand.Rand() & 31)
|
||||||
sym = (rand.Rand() % 13) - 6;
|
sym = intmax_t(rand.Rand() % 13) - 6;
|
||||||
else
|
else
|
||||||
sym = (rand.Rand() % 51) - 25;
|
sym = intmax_t(rand.Rand() % 51) - 25;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (sym == 1 || sym == 0)
|
if (sym == 1 || sym == 0)
|
||||||
|
@ -41,7 +41,9 @@ int main(int argc, char *argv[])
|
|||||||
" subcontrol-position: top left;"
|
" subcontrol-position: top left;"
|
||||||
" padding: 0 3px 0 3px;"
|
" padding: 0 3px 0 3px;"
|
||||||
//" padding: 2px;"
|
//" padding: 2px;"
|
||||||
"}" );
|
"} \n"
|
||||||
|
"QComboBox { margin-top: 0px; padding-bottom: 0px; }"
|
||||||
|
);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
int rv = -1;
|
int rv = -1;
|
||||||
|
Loading…
Reference in New Issue
Block a user