reverse numbering
CI for csaxs_bec / test (push) Successful in 1m31s

This commit is contained in:
x12sa
2026-07-07 13:17:03 +02:00
parent 9126b8d64d
commit fea16a74fa
@@ -339,6 +339,9 @@ class SampleStorageWidget(BECWidget, QWidget):
grid.setContentsMargins(0, 0, 0, 0)
for idx, slot in enumerate(STORAGE_SLOTS):
r, c = divmod(idx, STORAGE_COLS)
# display each row right-to-left (5..1, 10..6, ...) rather than
# left-to-right, to match the physical magazine orientation
c = STORAGE_COLS - 1 - c
cell = _SlotCell(slot, self, COLOR_SLOT_BORDER)
self._cells[slot] = cell
grid.addWidget(cell, r, c)