浏览代码

fix: vpu_live grid count -1 (> - >=)

micha 2 年之前
父节点
当前提交
8ac1f11043
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      vpu/vpu_live.py

+ 1 - 1
vpu/vpu_live.py

@@ -543,7 +543,7 @@ def init_grid():
         if i >= _x and i%_x == 0:
             x=0
             y+=1
-        if y > _y:
+        if y >= _y:
             break