@pygmalionjs/pygmalion 0.5.7 → 0.5.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.
|
@@ -8530,6 +8530,17 @@ ${e}`;
|
|
|
8530
8530
|
}
|
|
8531
8531
|
this.sectionRenameTarget = d, this.selectedIds = [], this.selectedCanvasObject = { kind: "section", name: d };
|
|
8532
8532
|
}
|
|
8533
|
+
/**
|
|
8534
|
+
* Enters the app screen for one frame, whichever frame is asked for.
|
|
8535
|
+
*
|
|
8536
|
+
* ▶ plays from the *current* frame, which is right for a toolbar button but
|
|
8537
|
+
* makes "see this one for real" a two-step gesture: select the frame, then
|
|
8538
|
+
* find the button. Double-clicking the frame's own label is the direct form of
|
|
8539
|
+
* the same intent, so it names the frame instead of relying on selection.
|
|
8540
|
+
*/
|
|
8541
|
+
openFramePreview(e) {
|
|
8542
|
+
this.pages.find((r) => r.id === e) && this.activePageId !== e && this.switchPage(e), this.openPreview();
|
|
8543
|
+
}
|
|
8533
8544
|
openPreview(e = {}) {
|
|
8534
8545
|
var r;
|
|
8535
8546
|
const n = gr();
|