More Snapable --> Snappable replacements (#2304)

This commit is contained in:
Rop Gonggrijp
2021-06-09 16:33:27 +02:00
committed by GitHub
parent e697807cf5
commit c7169762a3
5 changed files with 10 additions and 9 deletions

View File

@@ -28,7 +28,7 @@ for i in range(10):
label = lv.label(btn)
if i == 3:
label.set_text("Panel {:d}\nno snap".format(i))
btn.clear_flag(lv.obj.FLAG.SNAPABLE)
btn.clear_flag(lv.obj.FLAG.SNAPPABLE)
else:
label.set_text("Panel {:d}".format(i))
label.center()