mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-06 05:35:47 +01:00
use newly added operator bool() for Evoral::Beats rather than double-negation as boolean
This commit is contained in:
parent
16c34acc88
commit
15b3ad956d
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue