comment on code folding

This commit is contained in:
Henry Gabryjelski 2021-08-18 20:50:55 -07:00
parent 18f1ce2c1f
commit a5f6fa7c30

View file

@ -50,6 +50,8 @@ class App:
# INITIALIZATION ----------------------- # INITIALIZATION -----------------------
if True: if True:
# The 'if True:' and indentation is a method to segment the code into logical blocks.
# Although not supported by MU, it also enables "code folding" by most editing programs
macropad = MacroPad() macropad = MacroPad()
macropad.display.auto_refresh = False macropad.display.auto_refresh = False
macropad.pixels.auto_write = False macropad.pixels.auto_write = False