Skip to content

Commit

Permalink
fix unrelated missing-redraw bug
Browse files Browse the repository at this point in the history
  • Loading branch information
nmwsharp committed Aug 16, 2024
1 parent 3f52c5e commit 4213335
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions include/polyscope/quantity.ipp
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,7 @@ QuantityS<S>* QuantityS<S>::setEnabled(bool newEnabled) {
}
}

if (isEnabled()) {
requestRedraw();
}
requestRedraw();

return this;
}
Expand Down

0 comments on commit 4213335

Please sign in to comment.