diff --git a/beeref/scene.py b/beeref/scene.py index af63d97..731101a 100644 --- a/beeref/scene.py +++ b/beeref/scene.py @@ -165,11 +165,6 @@ class BeeGraphicsScene(QtWidgets.QGraphicsScene): except rpack.PackingImpossibleError: width = math.ceil(width * 1.2) - if rpack.overlapping(sizes, positions): - # Bug in rpack: - # https://github.com/Penlect/rectangle-packer/issues/13 - positions = [(p[1], p[0]) for p in positions] - # We want the items to center around the selection's center, # not (0, 0) bounds = rpack.bbox_size(sizes, positions) diff --git a/setup.py b/setup.py index b4f2f48..3ee19fd 100644 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ setup( description='A simple reference image viewer', install_requires=[ 'pyQt6>=6.1', - 'rectangle-packer>=2.0.0', + 'rectangle-packer>=2.0.1', ], packages=['beeref'], entry_points={