Show light index
This commit is contained in:
parent
15caad7fad
commit
0f424ad039
|
|
@ -274,7 +274,7 @@ export class Engine {
|
|||
*/
|
||||
showImage(led: Led): void {
|
||||
if (led.on) {
|
||||
this.selectedObject.innerText = led.name;
|
||||
this.selectedObject.innerText = led.name + ' (' + (<number> this.leds.currentLedIndex + 1) + '/' + this.leds.children.length + ')';
|
||||
this.ledView.src = '/data/small/' + led.name;
|
||||
this.ledView.style.display = 'block';
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in New Issue