fixed drawing of bars which do not fit within current viewport
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1307 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
@@ -1426,10 +1426,10 @@ void automationEditor::paintEvent( QPaintEvent * _pe )
|
||||
- m_currentPosition ) * m_ppt /
|
||||
DefaultTicksPerTact;
|
||||
// skip this value if not in visible area at all
|
||||
if( next_x > width() )
|
||||
/* if( next_x > width() )
|
||||
{
|
||||
break;
|
||||
}
|
||||
}*/
|
||||
rect_width = next_x - x;
|
||||
}
|
||||
else
|
||||
|
||||
@@ -27,6 +27,7 @@
|
||||
|
||||
|
||||
#include <QtGui/QFileDialog>
|
||||
#include <QtGui/QHBoxLayout>
|
||||
#include <QtGui/QMouseEvent>
|
||||
#include <QtGui/QPainter>
|
||||
#include <QtGui/QToolButton>
|
||||
@@ -40,7 +41,6 @@
|
||||
#include "gui_templates.h"
|
||||
#include "config_mgr.h"
|
||||
#include "engine.h"
|
||||
#include <QtGui/QHBoxLayout>
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user