Review main Merged

21887[FEATURE] Enable double-resolution icons in SpriteGenerator

Steffen Ritter CR +2 V +2 Normal +120 −24 updated 10/15/13, 20:41

Commit message

In order to display high resolution icons to according displays
the SpriteManager must be enabled to support this.

This patch adds support for that. It generates a second sprite
with double sized icons and uses background-size CSS3 property.
As this sprite is a separate file it does not affect performance
on non high Resolution Displays. High Resolution displays directly
load the second file - which indeed is 4 times the size.

For generating the high resolution sprite all icons which are not
available as @x2-variant are scaled with gd-library functionality.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 2