removed trial preview for numbering

This commit is contained in:
Bryan Van Deusen
2026-01-22 23:29:00 -05:00
parent c620c2e041
commit 82cf3b782b
3 changed files with 0 additions and 60 deletions
-26
View File
@@ -29,8 +29,6 @@
dom.tagInput = document.getElementById('bulkTagInput');
dom.autocomplete = document.getElementById('bulkTagAutocomplete');
dom.commonTags = document.getElementById('commonTagsList');
dom.floatingPreview = document.getElementById('floatingPreview');
dom.floatingPreviewImage = document.getElementById('floatingPreviewImage');
if (!dom.selectBtn || !dom.panel) return;
@@ -66,30 +64,6 @@
}
}
});
// Preview on hover in select mode
document.addEventListener('mouseenter', handlePreviewShow, true);
document.addEventListener('mouseleave', handlePreviewHide, true);
}
function handlePreviewShow(e) {
if (!state.isSelectMode || !dom.floatingPreview) return;
const item = e.target.closest('.img-clickable');
if (!item) return;
const fullSrc = item.dataset.full;
if (fullSrc && dom.floatingPreviewImage) {
dom.floatingPreviewImage.src = fullSrc;
dom.floatingPreview.classList.add('active');
}
}
function handlePreviewHide(e) {
if (!dom.floatingPreview) return;
const item = e.target.closest('.img-clickable');
if (!item) return;
dom.floatingPreview.classList.remove('active');
}
function toggleSelectMode() {
-29
View File
@@ -2036,35 +2036,6 @@ body.select-mode .gallery-infinite-container {
font-size: 0.85rem;
}
/* Floating preview overlay (for select mode hover) */
.floating-preview {
display: none;
position: fixed;
top: 80px;
left: 50%;
transform: translateX(-50%);
z-index: 1000;
width: 600px;
height: 500px;
background: var(--panel);
border: 2px solid var(--accent);
border-radius: 8px;
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
padding: 4px;
pointer-events: none;
}
.floating-preview.active {
display: flex;
align-items: center;
justify-content: center;
}
.floating-preview img {
max-width: 100%;
max-height: 100%;
object-fit: contain;
border-radius: 4px;
}
/* Selection order badge on gallery items */
.selection-order-badge {
position: absolute;
-5
View File
@@ -120,11 +120,6 @@
<!-- Modal -->
{% include '_gallery_modal.html' %}
<!-- Floating Preview (for select mode hover) -->
<div id="floatingPreview" class="floating-preview">
<img id="floatingPreviewImage" src="" alt="Preview">
</div>
<!-- Bulk Editor Panel -->
<aside id="bulkEditorPanel" class="bulk-editor-panel">
<div class="bulk-editor-header">