mirror of
https://github.com/LMMS/lmms.git
synced 2026-03-14 20:20:35 -04:00
AutomatableModel: added centerValue property
The optional centerValue property can be used by views to display the center somehow. It defaults to minimum value.
This commit is contained in:
@@ -45,6 +45,7 @@ AutomatableModel::AutomatableModel( DataType type,
|
||||
m_maxValue( max ),
|
||||
m_step( step ),
|
||||
m_range( max - min ),
|
||||
m_centerValue( m_minValue ),
|
||||
m_journalEntryReady( false ),
|
||||
m_setValueDepth( 0 ),
|
||||
m_hasLinkedModels( false ),
|
||||
|
||||
Reference in New Issue
Block a user