feat: Update pop-out viewer management logic and HTML structure.

This commit is contained in:
AEmotionStudio
2026-01-05 14:44:19 -08:00
parent 86bfec75a2
commit 29dfd38e1e
4 changed files with 3 additions and 8 deletions
+1 -1
View File
@@ -84,7 +84,7 @@ export class PopOutManager {
*/
private getViewerUrl(): string {
// Cache-busting version - increment to force refresh
const version = 'v16';
const version = 'v17';
// Find the extension's base URL from the loaded scripts
const scripts = document.querySelectorAll('script[src*="magnify"]');
+1 -1
View File
@@ -27,7 +27,7 @@ class PopOutManager {
* Get the URL for the pop-out viewer page.
*/
getViewerUrl() {
const version = "v16";
const version = "v17";
const scripts = document.querySelectorAll('script[src*="magnify"]');
Logger.debug(`[PopOut] Found ${scripts.length} magnify scripts`);
if (scripts.length > 0) {
File diff suppressed because one or more lines are too long
-5
View File
@@ -984,11 +984,6 @@
<span class="info-label">Scale</span>
<span class="info-value">${((info.canvas.scale || 1) * 100).toFixed(1)}%</span>
</div>
${info.magnifier ? `
<div class="info-row">
<span class="info-label">Zoom</span>
<span class="info-value">${info.magnifier.zoomFactor || 1}×</span>
</div>` : ''}
</div>
</div>
`;