Skip to content

Commit

Permalink
fix(qml): Fix effective zoom factor for scrolling waveforms
Browse files Browse the repository at this point in the history
  • Loading branch information
Holzhaus committed Feb 27, 2024
1 parent 7e09c58 commit 509c0f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion res/qml/WaveformRow.qml
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ Item {
Item {
id: waveform

property real effectiveZoomFactor: rateRatioControl.value * zoomControl.value * 100
property real effectiveZoomFactor: (1 / rateRatioControl.value) * (100 / zoomControl.value)

width: waveformContainer.duration * effectiveZoomFactor
height: parent.height
Expand Down

0 comments on commit 509c0f0

Please sign in to comment.