@1agh/maude 1.6.9 → 1.6.10
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.
|
@@ -14052,8 +14052,10 @@ function App() {
|
|
|
14052
14052
|
} else if ((m.dgn === 'canvas-rendered' || m.dgn === 'canvas-failed') && m.file) {
|
|
14053
14053
|
// The canvas drew (or its shell is now showing its own build error) —
|
|
14054
14054
|
// only now drop the loading screen. See `loaded` below for why that
|
|
14055
|
-
// one is not enough.
|
|
14056
|
-
|
|
14055
|
+
// one is not enough. Only from the frame IN VIEW, like every branch
|
|
14056
|
+
// that changes what the user sees (review F5).
|
|
14057
|
+
const activeWin = activePath ? iframesRef.current.get(activePath)?.contentWindow : null;
|
|
14058
|
+
if (e.source === activeWin) setLoadingPath((p) => (p === m.file ? null : p));
|
|
14057
14059
|
} else if (m.dgn === 'loaded' && m.file) {
|
|
14058
14060
|
// The shell document ran — push current comments + carry over the
|
|
14059
14061
|
// focused pin. For a TSX/JSX canvas this is NOT "drawn": the module
|