Actions
Bug #23515
closedSpriteGeneration generates wrong output if there are several icons sizes which are same width and nearly same count
Start date:
2010-09-08
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.5
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
The spriteGenerator sorts icons into groups depending on their size.
It also arranges icons in the sprite from the width in the sprite descending.
This information is stored in an array with the "width" of the icons as key.
If there are two icon groups, which icons have the same width and same icon-count (in fact width * ceilg(sqrt(icon-count)) equals) they overwrite each other in the array, and one group is positioned at 0,0.
(issue imported from #M15662)
Files
Updated by Steffen Kamper about 14 years ago
committed at T3CSS10 to trunk rev 9074
Actions