feat: Update pop-out viewer management logic and HTML structure.
This commit is contained in:
@@ -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"]');
|
||||
|
||||
@@ -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
@@ -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>
|
||||
`;
|
||||
|
||||
Reference in New Issue
Block a user