Add click and drag to hotspots during edit

Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
This commit is contained in:
2024-10-28 19:37:37 -07:00
parent 6905e1310f
commit 46ee8b6ee9
3 changed files with 88 additions and 8 deletions

View File

@@ -89,7 +89,7 @@ class GlModelHooks {
$out->addModules('ext.glmv');
$mvTransform = $file->transform([ 'width' => '800', 'hight' => '600']);
$previewViewer = $mvTransform->toHtml();
$previewViewer = $mvTransform->toHtml([ 'preview' => true]);
$addButtonAttr = array(
'class' => 'AddHotspot',