fixed position line disappearing when zoomed out (#7296)

This commit is contained in:
BoredGuy1
2024-05-30 23:19:34 -07:00
committed by GitHub
parent a85c98648c
commit 94b1a382dd

View File

@@ -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();