Uploaded image for project: 'SmartSprites'
  1. SmartSprites
  2. SMARTSPRITES-70

Add support for adjustable sprite image spacing

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 0.3.0
    • Labels:
      None

      Description

      Motivation

      When using the browser's zooming feature, interpolation of sprite images can cause unpleasant effects on the sprite image boundaries. A possible solution to this problem would be introducing non-zero spacing between sprite images, as suggested on the discussion group.

      Implementation

      Incomplete specification

      The implementation will introduce a global, sprite and sprite image-level sprite-spacing property for controlling spacing between individual images.

      Discussion

      For the time being, it should be enough to add spacing only along the layout direction of sprites. However, when optimized sprite layout is implemented (SMARTSPRITES-64), spacing will have to be added on all sides of individual images, except on the sprite image borders.

        Attachments

          Activity

            People

            Assignee:
            stachoo Stanisław Osiński
            Reporter:
            stachoo Stanisław Osiński
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated: