mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-25 17:45:36 +00:00
formatting
This commit is contained in:
1 parent
1a74b4c692
commit
a0f9cb5183
1 file changed
+8
-8
@@ -566,14 +566,14 @@ var HORIZONTAL_MARGIN = 2;
|
||||
|
||||
- (void)_computeGridWithSize:(CGSize)aSuperviewSize count:(Function)countRef
|
||||
{
|
||||
var width = aSuperviewSize.width,
|
||||
height = aSuperviewSize.height,
|
||||
itemSize = CGSizeMakeCopy(_minItemSize),
|
||||
maxItemSizeWidth = _maxItemSize.width,
|
||||
maxItemSizeHeight = _maxItemSize.height,
|
||||
itemsCount = [_items count],
|
||||
numberOfRows,
|
||||
numberOfColumns;
|
||||
var width = aSuperviewSize.width,
|
||||
height = aSuperviewSize.height,
|
||||
itemSize = CGSizeMakeCopy(_minItemSize),
|
||||
maxItemSizeWidth = _maxItemSize.width,
|
||||
maxItemSizeHeight = _maxItemSize.height,
|
||||
itemsCount = [_items count],
|
||||
numberOfRows,
|
||||
numberOfColumns;
|
||||
|
||||
numberOfColumns = FLOOR(width / itemSize.width);
|
||||
|
||||
|
||||
Reference in new issue
Block a user