@nextuplodsonnpm/modelwise-pi 0.1.2 → 0.1.4
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 +1 -1
- package/src/index.ts +4 -2
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -58,9 +58,11 @@ export default function (pi: ExtensionAPI) {
|
|
|
58
58
|
};
|
|
59
59
|
const showStatus = (ctx: ExtensionContext, text: string) => {
|
|
60
60
|
if (!ctx.hasUI) return;
|
|
61
|
-
// Footer statuses are joined with other plugins. A widget owns its row
|
|
61
|
+
// Footer statuses are joined with other plugins. A widget owns its row
|
|
62
|
+
// and renders above the editor, ahead of the path/stats footer and any
|
|
63
|
+
// other extensions' widgets.
|
|
62
64
|
ctx.ui.setStatus("modelwise", undefined);
|
|
63
|
-
ctx.ui.setWidget("modelwise", [text], { placement: "
|
|
65
|
+
ctx.ui.setWidget("modelwise", [text], { placement: "aboveEditor" });
|
|
64
66
|
};
|
|
65
67
|
const status = (ctx: ExtensionContext) => showStatus(ctx, statusLabel(ctx));
|
|
66
68
|
|