|
@@ -64,7 +64,7 @@ public class PQStuckPointViewModel: NSObject {
|
|
|
currtentX = currtentX + itemSpace + width
|
|
|
attributesArray.append(attributes)
|
|
|
}
|
|
|
- return (attributesArray, currtentY + lineSpace + itemHeight)
|
|
|
+ return (attributesArray, attributesArray.count > 0 ? currtentY + lineSpace + itemHeight : 0)
|
|
|
}
|
|
|
|
|
|
|