v0.6.5: size hero detail drawer from viewport; add PC post-lock item tips.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -111,6 +111,8 @@ def block_of_column(cols: list[tuple[int, int]]) -> list[int]:
|
||||
Blocks are separated by a visibly wider gutter than the gap between two
|
||||
cards in the same block.
|
||||
"""
|
||||
import numpy as np
|
||||
|
||||
gaps = [cols[i + 1][0] - cols[i][1] for i in range(len(cols) - 1)]
|
||||
if not gaps:
|
||||
return [0] * len(cols)
|
||||
|
||||
Reference in New Issue
Block a user