diff --git a/ArduinoFrontend/src/app/simulator/simulator.component.ts b/ArduinoFrontend/src/app/simulator/simulator.component.ts index 1d3c569d..b90f540a 100644 --- a/ArduinoFrontend/src/app/simulator/simulator.component.ts +++ b/ArduinoFrontend/src/app/simulator/simulator.component.ts @@ -212,12 +212,12 @@ export class SimulatorComponent implements OnInit, OnDestroy { // Minimum width const minWidth = 150; if (newEditorWidth < minWidth) { - newEditorWidth= minWidth; + newEditorWidth = minWidth; } // Maximum width const maxWidth = window.innerWidth - 450; if (newEditorWidth > maxWidth) { - newEditorWidth= maxWidth; + newEditorWidth = maxWidth; } this.editorWidth = newEditorWidth; // Update the handle position