Skip to content

Commit

Permalink
Fix image preloading
Browse files Browse the repository at this point in the history
  • Loading branch information
romannurik committed Oct 11, 2019
1 parent 972f7d5 commit 05f8528
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ _sandbox
# Sketch Runner no longer requires this in the repo
*.sketchplugin

# Private info
.skpmrc

# npm
node_modules
.npm
Expand Down
6 changes: 4 additions & 2 deletions assets/index_template.html
Original file line number Diff line number Diff line change
Expand Up @@ -74,14 +74,16 @@
right: 0;
bottom: 0;
opacity: 0;
display: none;
visibility: hidden;
pointer-events: none;
box-shadow: 0 0 0 1px rgba(0, 0, 0, .12);
overflow: hidden;
}

.artboard.is-active {
opacity: 1;
display: block;
visibility: visible;
pointer-events: all;
}

.artboard-scroll-container,
Expand Down

0 comments on commit 05f8528

Please sign in to comment.