... | ... |
@@ -142,14 +142,14 @@ var knobsClass = { |
142 | 142 |
state.objects[selected].type = string.replace(state.objects[selected].type, |
143 | 143 |
'selected', 'editable'); |
144 | 144 |
me.device.windows.window[me.device.windows.selected] |
145 |
- .setDrawMode(0x01) |
|
145 |
+ .setDrawMode(canvas.Text.TEXT) |
|
146 | 146 |
.setColor(0,1,1); |
147 | 147 |
state.objects[i].type = string.replace(state.objects[i].type, |
148 | 148 |
'editable', 'selected'); |
149 | 149 |
me.device.windows.window[id ~ '-' ~ (i - state.scroll.offset)] |
150 |
- .setDrawMode(0x05) |
|
150 |
+ .setDrawMode(canvas.Text.TEXT + canvas.Text.FILLEDBOUNDINGBOX) |
|
151 | 151 |
.setColorFill(0,1,1) |
152 |
- .setColor(0,0,0); |
|
152 |
+ .setColor(1,0,0); |
|
153 | 153 |
me.device.windows.selected = id ~ '-' ~ (i - state.scroll.offset); |
154 | 154 |
break; |
155 | 155 |
} |