Skip to content

Commit

Permalink
Swap min for max (#120)
Browse files Browse the repository at this point in the history
  • Loading branch information
ALevansSamsung authored Jun 27, 2024
1 parent edf7ccb commit defd00c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/frontend/track_panel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ export function resizeTrack(
trackHeight += movementY;
mouseY = evMove.clientY;
const newMultiplier = trackHeight / defaultHeight;
trackState.scaleFactor = Math.min(1, newMultiplier);
trackState.scaleFactor = Math.max(1, newMultiplier);
globals.rafScheduler.scheduleFullRedraw();
};
const mouseReturnEvent = () : void => {
Expand Down

0 comments on commit defd00c

Please sign in to comment.