Skip to content

Commit

Permalink
Update src/components/Panels/TimingDiagramPanel/TimingDiagramPanel.vue
Browse files Browse the repository at this point in the history
Co-authored-by: Vedant Jain <[email protected]>
  • Loading branch information
niladrix719 and vedant-jain03 authored Jul 10, 2024
1 parent 1593308 commit 4910ea1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ function handleButtonClick(button: string) {
} else if (button === 'largeHeight') {
timingDiagramButtonActions.largeHeight()
} else {
if (button === 'reset' || button === 'resume' || button === 'pause' || button === 'nextCycle' || button === 'setExecutionTime' || button === 'zoomIn' || button === 'zoomOut' || button === 'download' || button === 'resize' || button === 'setup' || button === 'calibrate' || button === 'getCurrentTime' || button === 'update' || button === 'render' || button === 'plot' || button === 'clear') {
if (['reset', 'resume', 'pause', 'nextCycle', 'setExecutionTime', 'zoomIn', 'zoomOut', 'download', 'resize', 'setup', 'calibrate', 'getCurrentTime', 'update', 'render', 'plot', 'clear'].includes(button)) {
plotArea[button]()
}
}
Expand Down

0 comments on commit 4910ea1

Please sign in to comment.