BaBar Widgets: pass a proper section name instead of a longer string.

This commit is contained in:
LemmyCook 2025-09-12 12:54:09 -04:00
parent 28677d6888
commit 380f31fbd9
16 changed files with 19 additions and 33 deletions

View file

@ -206,9 +206,9 @@ Singleton {
function getNPillDirection(widget) {
try {
if (widget.barSection === "leftSection") {
if (widget.section === "left") {
return true
} else if (widget.barSection === "rightSection") {
} else if (widget.section === "right") {
return false
} else {
// middle section