... | ... |
@@ -150,13 +150,14 @@ var knobsClass = { |
150 | 150 |
state.objects[selected].type = string.replace(state.objects[selected].type, |
151 | 151 |
'selected', 'editable'); |
152 | 152 |
me.device.windows.window[me.device.windows.selected] |
153 |
- .setDrawMode(canvas.Text.TEXT) |
|
153 |
+ .setDrawMode(canvas.Text.TEXT + canvas.Text.FILLEDBOUNDINGBOX) |
|
154 |
+ .setColorFill(0,0,0) |
|
154 | 155 |
.setColor(0,1,1); |
155 | 156 |
state.objects[i].type = string.replace(state.objects[i].type, |
156 | 157 |
'editable', 'selected'); |
157 | 158 |
me.device.windows.window[id ~ '-' ~ (i - state.scroll.offset)] |
158 | 159 |
.setDrawMode(canvas.Text.TEXT + canvas.Text.FILLEDBOUNDINGBOX) |
159 |
- .setColorFill(0,1,1) |
|
160 |
+ .setColorFill(0,0,0) |
|
160 | 161 |
.setColor(1,0,0); |
161 | 162 |
me.device.windows.selected = id ~ '-' ~ (i - state.scroll.offset); |
162 | 163 |
break; |
... | ... |
@@ -38,8 +38,8 @@ var pageClass = { |
38 | 38 |
.setTranslation(x, y) |
39 | 39 |
.setDrawMode(0x01 + 0x04) |
40 | 40 |
.setText(text) |
41 |
- .setColorFill(0,1,1) |
|
42 |
- .setColor(0,0,0); |
|
41 |
+ .setColorFill(0,0,0) |
|
42 |
+ .setColor(1,0,0); |
|
43 | 43 |
}, |
44 | 44 |
|
45 | 45 |
_editable_text : func (id, text, x, y) { |