Fix Settings Sorting

This commit is contained in:
thororen1234 2024-11-04 02:53:44 -05:00
parent cb95586184
commit bb6e60b44d

View file

@ -178,7 +178,7 @@ export default definePlugin({
patchedSettings: new WeakSet(),
addSettings(elements: any[], element: { header?: string; settings: string[]; }, sectionTypes: SectionTypes) {
if (this.patchedSettings.has(elements)) return;
if (this.patchedSettings.has(elements) || !this.isRightSpot(element)) return;
this.patchedSettings.add(elements);