Skip to content

Commit 84c45f5

Browse files
authored
Fix Dark Mode setPitch preview Bg and Grid Button Visibility Bug (#4398)
* dark mode bug set pitch preview changes * grid option disappears when click expand btn * changes
1 parent 1d64461 commit 84c45f5

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

css/themes.css

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,5 +95,15 @@
9595
color: #fff;
9696
}
9797

98+
.dark #chooseKeyDiv {
99+
background: #333;
100+
}
101+
102+
.dark #movable {
103+
background: #333;
104+
color: white;
105+
}
106+
107+
98108

99109
/* Your Custom Theme can go here if you don't want to modify the existing dark mode */

js/turtles.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -994,7 +994,6 @@ Turtles.TurtlesView = class {
994994
}
995995
this._expandButton.style.visibility = "visible";
996996
this._collapseButton.style.visibility = "hidden";
997-
this.gridButton.style.visibility = "hidden";
998997
this.activity.helpfulWheelItems.forEach(ele => {
999998
if (ele.label === "Expand") {
1000999
ele.display = true;

0 commit comments

Comments
 (0)