angular-dynamic-layout icon indicating copy to clipboard operation
angular-dynamic-layout copied to clipboard

Wrong calculation in positionService#setItemsColumnSpan

Open antony-k1208 opened this issue 8 years ago • 4 comments

items[i].width isn't absolutely safe, the return value has sometimes multiple decimal places, which leads to a wrong calculation of the actual columnSpan because Math.ceil will always return the smallest integer greater than or equal to a given number. Using this limitation seems to work great!

antony-k1208 avatar Feb 25 '16 07:02 antony-k1208