mirror of
https://bitbucket.org/mfeemster/fractorium.git
synced 2025-01-21 13:10:04 -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)
|
||||
sym = symDistrib[rand.Rand() % Vlen(symDistrib)];
|
||||
else if (rand.Rand() & 31)
|
||||
sym = (rand.Rand() % 13) - 6;
|
||||
sym = intmax_t(rand.Rand() % 13) - 6;
|
||||
else
|
||||
sym = (rand.Rand() % 51) - 25;
|
||||
sym = intmax_t(rand.Rand() % 51) - 25;
|
||||
}
|
||||
|
||||
if (sym == 1 || sym == 0)
|
||||
|
@ -41,7 +41,9 @@ int main(int argc, char *argv[])
|
||||
" subcontrol-position: top left;"
|
||||
" padding: 0 3px 0 3px;"
|
||||
//" padding: 2px;"
|
||||
"}" );
|
||||
"} \n"
|
||||
"QComboBox { margin-top: 0px; padding-bottom: 0px; }"
|
||||
);
|
||||
#endif
|
||||
|
||||
int rv = -1;
|
||||
|
Loading…
Reference in New Issue
Block a user