This commit is contained in:
Thomas Forgione 2024-07-11 09:56:08 +02:00
parent 658fcd57c3
commit 4cf574ced8
1 changed files with 1 additions and 1 deletions

View File

@ -295,7 +295,7 @@ export class Engine {
*/ */
showImage(led: Led): void { showImage(led: Led): void {
if (led.on) { if (led.on) {
this.selectedObject.innerText = led.name.split('.')[0] + ' (' + (<number> this.leds.currentLedIndex + 1) + '/' + this.leds.children.length + ')'; this.selectedObject.innerText = led.name.split('.')[0] + ' (' + (<number> this.leds.currentLedIndex + 1) + '/' + this.leds.leds.length + ')';
this.ledView.src = '/data/calibration/' + this.objectId + '/' + led.name; this.ledView.src = '/data/calibration/' + this.objectId + '/' + led.name;
this.ledView.style.display = 'block'; this.ledView.style.display = 'block';
} else { } else {