Skip to content

Commit

Permalink
Add fill-opacity:0 to shape
Browse files Browse the repository at this point in the history
- This allows you to re-inflate the balloon when you click on the shape
before it would only work if you press the path which was quite hard to do.

Related #10
  • Loading branch information
RhodesPeter committed Apr 13, 2017
1 parent f461790 commit bf99d64
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion public/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -191,8 +191,8 @@
].forEach(function(emotion){
var node = document.getElementById(emotion);
toggleClass(node, 'pop');
setSessionStorageOnClick(node, 'pop', 'personality', personality);
addHaloClickEvent(node);
setSessionStorageOnClick(node, 'pop', 'personality', personality)
});

[
Expand Down
3 changes: 0 additions & 3 deletions scss/_layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,4 @@ h1, h2, h3, h4, h5, h6 {
stroke: $yellow;
stroke-width: 4;
}
// .st5 {
// stroke: $yellow;
// }
}
2 changes: 1 addition & 1 deletion src/templates/views/personality.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
.style2{enable-background:new ;}
.st3{opacity:0.41;}
.st4{opacity:0.1091;fill:#FFFFFF;enable-background:new ;}
.style5{fill:none;stroke:transparrent;stroke-miterlimit:10;}
.style5{fill:black;fill-opacity:0;stroke:transparrent;stroke-miterlimit:10;}
.st6{fill:none;}
</style>
<g id="strange">
Expand Down

0 comments on commit bf99d64

Please sign in to comment.