feat: sync interactive image previews
Engine CI / test (push) Waiting to run

This commit is contained in:
2026-08-30 22:20:30 +08:00
parent e3b0b2d576
commit e23fa413be
11 changed files with 1296 additions and 117 deletions
@@ -47,10 +47,6 @@ function lock() {
syncBodyState()
}
function openPresenter() {
window.location.href = `${import.meta.env.BASE_URL}presenter/`
}
function resizeNotes(delta: number) {
noteSize.value = Math.min(38, Math.max(14, noteSize.value + delta))
document.documentElement.style.setProperty('--easy-presenter-note-size', `${noteSize.value}px`)
@@ -93,16 +89,6 @@ async function sha256(value: string) {
</script>
<template>
<button
v-if="!isPresenter && configuredHash"
class="easy-presenter-launcher"
type="button"
title="打开演示者模式"
@click="openPresenter"
>
演示者
</button>
<Teleport to="body">
<dialog
v-if="isPresenter && !unlocked"