Skip to content

Commit

Permalink
fixed linting error
Browse files Browse the repository at this point in the history
  • Loading branch information
kghs-aver committed Dec 27, 2024
1 parent c31d16f commit 0967ac7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ArduinoFrontend/src/app/simulator/simulator.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0967ac7

Please sign in to comment.