Skip to content

Commit 4393a5b

Browse files
committed
Minor Formatting
1 parent c26e978 commit 4393a5b

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

zscript/accensus/merchant/menu/handlers/merchantMenuHandler.zsc

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -19,25 +19,25 @@ class MerchantMenuHandler : MerchZFHandler {
1919
switch (cmd) {
2020
case 'toggleCategoryCollapse':
2121
if (hdm_debug) console.printf("Toggle Category Collapsed...");
22-
let toggleBtn = MerchantCategoryToggleButton(btn);
23-
if (toggleBtn) {
24-
if (hdm_debug) console.printf("Toggle Button Exists");
25-
let itemsFrame = toggleBtn.targetEl;
22+
let toggleBtn = MerchantCategoryToggleButton(btn);
23+
if (toggleBtn) {
24+
if (hdm_debug) console.printf("Toggle Button Exists");
25+
let itemsFrame = toggleBtn.targetEl;
2626

27-
if (itemsFrame) {
28-
if (hdm_debug) console.printf("Target Element Exists");
29-
itemsFrame.setHidden(on);
30-
31-
if (hdm_debug) console.printf("Target Element is now "..(itemsFrame.isHidden() ? "hidden" : "visible"));
27+
if (itemsFrame) {
28+
if (hdm_debug) console.printf("Target Element Exists");
29+
itemsFrame.setHidden(on);
30+
31+
if (hdm_debug) console.printf("Target Element is now "..(itemsFrame.isHidden() ? "hidden" : "visible"));
3232

3333
menu.setScrollHeight();
3434
menu.buildFocusableBtns();
35+
}
3536
}
36-
}
37-
break;
38-
default:
39-
if (hdm_debug) console.printf("Unknown Command: "..cmd);
40-
break;
37+
break;
38+
default:
39+
if (hdm_debug) console.printf("Unknown Command: "..cmd);
40+
break;
4141
}
4242
}
4343
}

0 commit comments

Comments
 (0)