pi-fabric 0.65.1 → 0.65.2
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/dist/chunks/{chunk-RGHBZ6D4.js → chunk-IUBTHPXQ.js} +3 -2
- package/dist/chunks/chunk-IUBTHPXQ.js.map +7 -0
- package/dist/chunks/{dashboard-NTBV66TP.js → dashboard-S3TINWGZ.js} +2 -2
- package/dist/chunks/{fabric-runtime-state-ABRESV3R.js → fabric-runtime-state-BJPHJM6A.js} +7 -7
- package/dist/chunks/fabric-runtime-state-BJPHJM6A.js.map +7 -0
- package/dist/chunks/{settings-WDHCKZZK.js → settings-REH4ESIW.js} +6 -3
- package/dist/chunks/{settings-WDHCKZZK.js.map → settings-REH4ESIW.js.map} +2 -2
- package/dist/commands/fabric.d.ts.map +1 -1
- package/dist/fabric-runtime-state.d.ts +1 -1
- package/dist/fabric-runtime-state.d.ts.map +1 -1
- package/dist/index.js +37 -11
- package/dist/index.js.map +2 -2
- package/dist/ui/highlight.d.ts.map +1 -1
- package/dist/ui/settings.d.ts +1 -1
- package/dist/ui/settings.d.ts.map +1 -1
- package/dist/ui/tool-display.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/chunks/chunk-RGHBZ6D4.js.map +0 -7
- package/dist/chunks/fabric-runtime-state-ABRESV3R.js.map +0 -7
- /package/dist/chunks/{dashboard-NTBV66TP.js.map → dashboard-S3TINWGZ.js.map} +0 -0
|
@@ -351,6 +351,7 @@ function languageFromPath(filePath) {
|
|
|
351
351
|
}
|
|
352
352
|
function configureHighlighting(themePreferenceValue, syntaxEnabled = true) {
|
|
353
353
|
const preference = themePreferenceValue.trim() || "auto";
|
|
354
|
+
const wasEnabled = enabled;
|
|
354
355
|
enabled = syntaxEnabled;
|
|
355
356
|
if (!enabled) {
|
|
356
357
|
themePreference = preference;
|
|
@@ -371,7 +372,7 @@ function configureHighlighting(themePreferenceValue, syntaxEnabled = true) {
|
|
|
371
372
|
return;
|
|
372
373
|
}
|
|
373
374
|
const themeChanged = syncEffectiveTheme(preference, observedVariant);
|
|
374
|
-
if (!themeChanged &&
|
|
375
|
+
if (!themeChanged && !wasEnabled && !highlighter && !initializingTheme) {
|
|
375
376
|
void initHighlighting(currentTheme, syntaxEnabled);
|
|
376
377
|
}
|
|
377
378
|
}
|
|
@@ -5069,4 +5070,4 @@ export {
|
|
|
5069
5070
|
isActiveStatus,
|
|
5070
5071
|
orderAgentsByCreation
|
|
5071
5072
|
};
|
|
5072
|
-
//# sourceMappingURL=chunk-
|
|
5073
|
+
//# sourceMappingURL=chunk-IUBTHPXQ.js.map
|