Skip to content

Commit a5f6fa7

Browse files
committed
comment on code folding
1 parent 18f1ce2 commit a5f6fa7

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Macropad_Hotkeys/code.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ def switch(self):
5050

5151
# INITIALIZATION -----------------------
5252
if True:
53+
# The 'if True:' and indentation is a method to segment the code into logical blocks.
54+
# Although not supported by MU, it also enables "code folding" by most editing programs
5355
macropad = MacroPad()
5456
macropad.display.auto_refresh = False
5557
macropad.pixels.auto_write = False

0 commit comments

Comments
 (0)