Rich-Harris / boxxy

Layout manager for web apps.
88 stars 3 forks source link

min/max block size values are ignored until first update #7

Open aesqe opened 9 years ago

aesqe commented 9 years ago

traced it to the following code in the Block.shake function, on line 500:

if (this.bcr.width === this.width && this.bcr.height === this.height) {
    return; // nothing to do, no need to shake children
}

I'm guessing it should not just return if it's the first time it's being called...?

Thanks for the great script! :)

Rich-Harris commented 9 years ago

Hey @aesqe, thanks for raising this - sorry I haven't replied sooner, I'm a little backed up at the moment! Just wanted to say that it's on my radar and I mean to fix it soon

aesqe commented 9 years ago

@Rich-Harris No problem, I'm just glad you haven't abandoned Divvy/Boxxy :)