We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e32e3f commit 8d4a904Copy full SHA for 8d4a904
js/module/tracer/tracer.js
@@ -50,26 +50,6 @@ class Tracer {
50
return this;
51
}
52
53
- _setSelectedColor(c) {
54
- this.color.selected = c;
55
- }
56
-
57
- _setNotifiedColor(c) {
58
- this.color.notified = c;
59
60
61
- _setVisitedColor(c) {
62
- this.color.visited = c;
63
64
65
- _setLeftColor(c) {
66
- this.color.left = c;
67
68
69
- _setDefaultColor(c) {
70
- this.color.default = c;
71
72
73
processStep(step, options) {
74
const {
75
type,
@@ -127,6 +107,11 @@ class Tracer {
127
107
128
108
129
109
110
+ palette(color) {
111
+ $.extend(this.color, color);
112
+ return this;
113
+ }
114
+
130
115
mousedown(e) {
131
116
132
117
0 commit comments