mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-11-01 21:07:36 +00:00
fix baseline cross multiple fragments issue
This commit is contained in:
1 parent
5bd5e9000e
commit
e5ca98a1d3
1 file changed
+1
-1
@@ -929,7 +929,7 @@ _oncontextmenuhandler = function () { return false; };
|
||||
|
||||
for (var i = 0; i < len - 1; i++) // extend the width of all but the last one
|
||||
{
|
||||
if (rectArray[i].origin.y == rectArray[i + 1].origin.y)
|
||||
if (FLOOR(CGRectGetMaxY(rectArray[i])) == FLOOR(CGRectGetMaxY(rectArray[i + 1])))
|
||||
continue;
|
||||
|
||||
rectArray[i].size.width = containerSize.width - rectArray[i].origin.x;
|
||||
|
||||
Reference in new issue
Block a user