mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-12 16:52:50 +00:00
fix initial loading of pannellum viewer for vegbilder photos
This commit is contained in:
@@ -487,8 +487,8 @@ export default {
|
||||
_currentFrame = d.is_sphere? _pannellumFrame : _planeFrame;
|
||||
|
||||
_currentFrame
|
||||
.selectPhoto(d, keepOrientation)
|
||||
.showPhotoFrame(wrap);
|
||||
.showPhotoFrame(wrap)
|
||||
.selectPhoto(d, keepOrientation);
|
||||
|
||||
return this;
|
||||
},
|
||||
|
||||
@@ -135,6 +135,7 @@ export function svgVegbilder(projection, context, dispatch) {
|
||||
if (!service) return;
|
||||
|
||||
const frame = service.photoFrame();
|
||||
if (!frame) return;
|
||||
|
||||
// update viewfield rotation
|
||||
_viewerYaw = frame.getYaw();
|
||||
|
||||
Reference in New Issue
Block a user