Skip to content

Commit

Permalink
animation speed decreased
Browse files Browse the repository at this point in the history
  • Loading branch information
ligi214 committed Oct 11, 2023
1 parent 0759687 commit 29e17c4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions js/text_l2expl.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,18 +114,18 @@ textGeneratorL2ExplDiv.append("div")
.on("mouseover", () => {
d3.select(`#text-vector-generator-l2-text-encoder-container`)
.style("background-color", "var(--text1)")
.style("animation", "None")
// .style("animation", "None")
})
.on("mouseout", () => {
if (window.textEncoderClicked){
d3.select(`#text-vector-generator-l2-text-encoder-container`)
.style("background-color", "var(--text0)")
.style("animation", "None")
// .style("animation", "None")
}
else {
d3.select(`#text-vector-generator-l2-text-encoder-container`)
.style("background-color", "var(--text0)")
.style("animation", "text-encoder-animation 1.0s infinite")
// .style("animation", "text-encoder-animation 1.0s infinite")
}
})
.on("click", (e) => {
Expand Down
2 changes: 1 addition & 1 deletion style.css
Original file line number Diff line number Diff line change
Expand Up @@ -1126,7 +1126,7 @@ input:checked + .slider:before {
position: absolute;
left: 240px;
background-color: var(--text0);
animation: text-encoder-animation 1.0s infinite;
animation: text-encoder-animation 1.3s infinite;
animation-timing-function: linear;
color: var(--text4);
border-radius: 5px;
Expand Down

0 comments on commit 29e17c4

Please sign in to comment.