diff data/model/NoteModel.h @ 1655:0cfb882155a6 single-point

Fixes: completion should default to 100 (it never gets set if we aren't a transform target); events added to time-value model should be denied durations; forward the overspill and matching search functions
author Chris Cannam
date Wed, 20 Mar 2019 11:14:36 +0000
parents 7a56bb85030f
children e4084bc60fe8
line wrap: on
line diff
--- a/data/model/NoteModel.h	Wed Mar 20 11:12:54 2019 +0000
+++ b/data/model/NoteModel.h	Wed Mar 20 11:14:36 2019 +0000
@@ -61,7 +61,7 @@
                    notifyOnAdd ?
                    DeferredNotifier::NOTIFY_ALWAYS :
                    DeferredNotifier::NOTIFY_DEFERRED),
-        m_completion(0) {
+        m_completion(100) {
         if (subtype == FLEXI_NOTE) {
             m_valueMinimum = 33.f;
             m_valueMaximum = 88.f;
@@ -86,7 +86,7 @@
                    notifyOnAdd ?
                    DeferredNotifier::NOTIFY_ALWAYS :
                    DeferredNotifier::NOTIFY_DEFERRED),
-        m_completion(0) {
+        m_completion(100) {
         PlayParameterRepository::getInstance()->addPlayable(this);
     }