minecodex 0.1.13 → 0.1.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -3307,12 +3307,13 @@ export function createInjectionSource(features, {
|
|
|
3307
3307
|
const anchorButton = temporaryChatButton ?? summaryButton ?? bottomPanelButton ?? sidePanelButton;
|
|
3308
3308
|
if (!anchorButton) return;
|
|
3309
3309
|
const anchorRoot = toolbarControlRoot(anchorButton);
|
|
3310
|
-
// The side-panel
|
|
3311
|
-
// with the native
|
|
3312
|
-
// fallback toolbar group, otherwise the Notes entry would be
|
|
3313
|
-
// into the
|
|
3314
|
-
// the native summary button when
|
|
3315
|
-
|
|
3310
|
+
// The bottom/side-panel toggles sit in narrow fixed containers that
|
|
3311
|
+
// travel with the native panels. Entries anchored to them must live in
|
|
3312
|
+
// the fallback toolbar group, otherwise the Notes entry would be
|
|
3313
|
+
// dragged into the panel or push the native toggle out of the header.
|
|
3314
|
+
// The Notes entry is only grouped with the native summary button when
|
|
3315
|
+
// that button is the anchor.
|
|
3316
|
+
const useFallbackAnchor = anchorButton === sidePanelButton || anchorButton === bottomPanelButton;
|
|
3316
3317
|
const summaryGroup = useFallbackAnchor ? null : nativeSummaryToolbarGroup(anchorButton);
|
|
3317
3318
|
let targetGroup = summaryGroup ?? ensureFallbackSummaryToolbarGroup(anchorButton);
|
|
3318
3319
|
if (!targetGroup) return;
|