Skip to content

Commit

Permalink
clear waveform paths on resize
Browse files Browse the repository at this point in the history
  • Loading branch information
igagis committed Mar 6, 2024
1 parent f58074b commit 5a5b4a6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/waveform.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ void waveform::make_vaos()

for (auto& pv : this->paths) {
if (pv.points.empty()) {
pv.vao.set(ruis::path().stroke());
continue;
}

Expand Down

0 comments on commit 5a5b4a6

Please sign in to comment.