mirror of
https://github.com/LMMS/lmms.git
synced 2026-03-21 23:43:14 -04:00
Piano roll GUI enhancements. Reset LFO counter on song start
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@935 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
@@ -74,7 +74,7 @@ float controller::value( int _offset )
|
||||
|
||||
|
||||
// Get position in frames
|
||||
int controller::runningFrames()
|
||||
unsigned int controller::runningFrames()
|
||||
{
|
||||
return s_frames;
|
||||
}
|
||||
@@ -91,6 +91,10 @@ void controller::triggerFrameCounter( void )
|
||||
{
|
||||
for( int i = 0; i < s_controllers.size(); ++i )
|
||||
{
|
||||
// This signal is for updating values for both stubborn knobs and for
|
||||
// painting. If we ever get all the widgets to use or at least check
|
||||
// currentValue() then we can throttle the signal and only use it for
|
||||
// GUI.
|
||||
emit s_controllers.at(i)->valueChanged();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user