mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-13 01:02:58 +00:00
show spinner while loading non-360° "vegbilder" photos
This commit is contained in:
@@ -419,6 +419,9 @@ label.streetside-hires {
|
||||
overflow: hidden;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
background-image: url(img/loader-black.gif);
|
||||
background-position: center;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
.vegbilder-wrapper .plane-frame > img.plane-photo{
|
||||
@@ -447,6 +450,7 @@ label.streetside-hires {
|
||||
.photo-controls button:focus {
|
||||
height: 18px;
|
||||
width: 18px;
|
||||
line-height: 18px;
|
||||
background: rgba(0,0,0,0.65);
|
||||
color: #eee;
|
||||
border-radius: 0;
|
||||
|
||||
@@ -86,6 +86,7 @@ export default {
|
||||
},
|
||||
|
||||
selectPhoto: function (data, keepOrientation) {
|
||||
loadImage(_photo, '');
|
||||
loadImage(_photo, data.image_path)
|
||||
.then(() => {
|
||||
if (!keepOrientation) {
|
||||
|
||||
Reference in New Issue
Block a user