Skip to content
This repository has been archived by the owner on Aug 2, 2018. It is now read-only.

Sometimes gap is calculated incorrectly #17

Closed
tomalec opened this issue Jun 23, 2014 · 0 comments
Closed

Sometimes gap is calculated incorrectly #17

tomalec opened this issue Jun 23, 2014 · 0 comments
Assignees

Comments

@tomalec
Copy link
Member

tomalec commented Jun 23, 2014

See tile 3 here:
gap_bug_html
Configuration:

{
  "gap": 25,
  "items": [
    {
      "name": "name",
      "background":"rgba(150,150,150,0.15)",
      "priority": 0.9,
      "gap": 0,
      "heightAuto": true,
      "width": 320,
      "items":[
            {
              "index": 0,
              "priority": 0.9,
              "height": 50,
              "width": 160
            },
            {
              "index": 1,
              "priority": 0.8,
              "height": 140,
              "width": 160
            }
      ]
    },
    {
      "index": 4,
      "priority": 0.79,
      "height": 115,
      "width": 160
    },
    {
      "index": 5,
      "priority": 0.61,
      "height": 25,
      "width": 160
    },
    {
      "index": 2,
      "priority": 0.7,
      "height": 140,
      "width": 160
    },
    {
      "index": 3,
      "priority": 0.6,
      "height": 50,
      "width": 160
    }
  ],
  "name": "root",
  "width": 539.703125,
  "heightAuto": true
}
@tomalec tomalec self-assigned this Jun 23, 2014
tomalec added a commit that referenced this issue Jun 23, 2014
@tomalec tomalec closed this as completed Jun 23, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant