Skip to content

Commit

Permalink
fixed position line disappearing when zoomed out (#7296)
Browse files Browse the repository at this point in the history
  • Loading branch information
BoredGuy1 authored May 31, 2024
1 parent a85c986 commit 94b1a38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/editors/PositionLine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ void PositionLine::zoomChange(float zoom)
{
int playHeadPos = x() + width() - 1;

resize(8.0 * zoom, height());
resize(std::max(8.0 * zoom, 1.0), height());
move(playHeadPos - width() + 1, y());

update();
Expand Down

0 comments on commit 94b1a38

Please sign in to comment.