Skip to content

Commit

Permalink
fix PR
Browse files Browse the repository at this point in the history
  • Loading branch information
eregnier committed Jun 9, 2019
1 parent 9f901a4 commit ce9ea2a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.idea/
node_modules/
yarn.lock
.env
8 changes: 2 additions & 6 deletions gmap-custom-marker.vue
Original file line number Diff line number Diff line change
Expand Up @@ -146,16 +146,12 @@ export default {
}
}
this.$overlay = new Overlay(map);
if (this.delayRepaint) {
setTimeout(() => {
setTimeout(() => {
if (this.$overlay) {
this.$overlay.repaint();
this.opacity = 1;
}
}, this.delayRepaint);
} else {
this.opacity = 1;
}
}, 100);
});
},
computed: {
Expand Down

0 comments on commit ce9ea2a

Please sign in to comment.