|
@@ -57,6 +57,7 @@ export default class Load {
|
|
|
}
|
|
|
}
|
|
|
if (dataLocal.magnifiers) {
|
|
|
+
|
|
|
for (let key in dataLocal.magnifiers) {
|
|
|
let magnifier = magnifierService.create(
|
|
|
dataLocal.magnifiers[key].position,
|
|
@@ -64,6 +65,9 @@ export default class Load {
|
|
|
);
|
|
|
magnifier.setSrc(dataLocal.magnifiers[key].photoUrl);
|
|
|
magnifier.setDisplay(dataLocal.magnifiers[key].display);
|
|
|
+
|
|
|
+ magnifier.setPopPosition(null,dataLocal.magnifiers[key].popPosition)
|
|
|
+
|
|
|
try {
|
|
|
if (dataLocal.magnifiers[key].photoUrl) {
|
|
|
await magnifier.setImageData();
|