Skip to content

Commit

Permalink
Update Done button
Browse files Browse the repository at this point in the history
  • Loading branch information
daksh4469 committed Feb 3, 2021
1 parent fc03850 commit 8079544
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions js/widgets/temperament.js
Original file line number Diff line number Diff line change
Expand Up @@ -1521,7 +1521,7 @@ class TemperamentWidget {
docById("noteInfo1").remove();
}
docById("wheelDiv3").innerHTML +=
'<div class="popup" id="noteInfo1" style="width:180px; height:135px;"><span class="popuptext" id="myPopup"></span></div>';
'<div class="popup" id="noteInfo1" style="width:180px; height:146px;"><span class="popuptext" id="myPopup"></span></div>';
docById("noteInfo1").innerHTML +=
'<img src="header-icons/close-button.svg" id="close" title="Close" alt="close" height=20px width=20px align="right">';
docById("noteInfo1").innerHTML +=
Expand All @@ -1535,10 +1535,12 @@ class TemperamentWidget {
frequencies[i] +
"</span>";
docById("noteInfo1").innerHTML +=
'<br><br><div id="done" style="background:rgb(196, 196, 196);"><center>Done</center><div>';
'<br><br><div id="done" style="background:#8cc6ff; cursor: pointer"><center>Done</center><div>';

docById("noteInfo1").style.top = "100px";
docById("noteInfo1").style.left = "90px";
docById("done").style.height = "30px";
docById("done").style.lineHeight = "30px";

docById("close").style.cursor = "pointer";
docById("frequencySlider").oninput = () => {
Expand Down

0 comments on commit 8079544

Please sign in to comment.