bar-service: inverted opening side for pills and stuff. fix #1579

This commit is contained in:
Lemmy
2026-01-27 14:57:30 -05:00
parent 4fdd570cd8
commit c63a4486a2
+5 -5
View File
@@ -240,21 +240,21 @@ Singleton {
function getPillDirection(widgetInstance) {
try {
if (widgetInstance.section === "left") {
return true;
} else if (widgetInstance.section === "right") {
return false;
} else if (widgetInstance.section === "right") {
return true;
} else {
// middle section
if (widgetInstance.sectionWidgetIndex < widgetInstance.sectionWidgetsCount / 2) {
return false;
} else {
return true;
} else {
return false;
}
}
} catch (e) {
Logger.e(e);
}
return false;
return true;
}
function getTooltipDirection(screenName) {