use newly added operator bool() for Evoral::Beats rather than double-negation as boolean
This commit is contained in:
parent
16c34acc88
commit
15b3ad956d
@ -2987,7 +2987,7 @@ MidiRegionView::trim_note (NoteBase* event, Evoral::Beats front_delta, Evoral::B
|
||||
if negative - move the end of the note earlier in time (shortening it)
|
||||
*/
|
||||
|
||||
if (!!front_delta) {
|
||||
if (front_delta) {
|
||||
if (front_delta < 0) {
|
||||
|
||||
if (event->note()->time() < -front_delta) {
|
||||
|
Loading…
Reference in New Issue
Block a user