This commit is contained in:
Lemmy
2026-02-07 20:05:11 -05:00
parent 493af28070
commit 50455b800d
+4 -2
View File
@@ -392,8 +392,10 @@ NBox {
// Map section IDs to correct position keys based on bar orientation
var positionKey = section;
if (root.barIsVertical) {
if (section === "left") positionKey = "top";
else if (section === "right") positionKey = "bottom";
if (section === "left")
positionKey = "top";
else if (section === "right")
positionKey = "bottom";
}
if (I18n.hasTranslation("positions." + positionKey)) {
displayLabel = I18n.tr("positions." + positionKey);