(e)
| 150 | } |
| 151 | |
| 152 | handleModeChange(e) { |
| 153 | const isManual = e.target.value === 'manual'; |
| 154 | const manualControls = document.getElementById('manualControls'); |
| 155 | if (manualControls) { |
| 156 | manualControls.style.display = isManual ? 'block' : 'none'; |
| 157 | } |
| 158 | this.updatePreviewIfNeeded(); |
| 159 | } |
| 160 | |
| 161 | async loadImage(file) { |
| 162 | try { |
no test coverage detected