Fixes flipping visiblesegment horizontally
This commit is contained in:
1 parent
bfeced7140
commit
ddbf9cd264
4 files changed
+57
-17
No files matched your search
@@ -158,7 +158,8 @@ void AutomationPatternView::flipY()
|
||||
|
||||
void AutomationPatternView::flipX()
|
||||
{
|
||||
m_pat->flipX( true );
|
||||
//m_pat->flipX( m_pat->length() );
|
||||
m_pat->flipX( m_pat->TrackContentObject::length() );
|
||||
update();
|
||||
}
|
||||
|
||||
@@ -189,10 +190,10 @@ void AutomationPatternView::constructContextMenu( QMenu * _cm )
|
||||
tr( "Set/clear record" ),
|
||||
this, SLOT( toggleRecording() ) );
|
||||
_cm->addAction( embed::getIconPixmap( "flip_y" ),
|
||||
tr( "Flip Y" ),
|
||||
tr( "Flip Vertically (Visible)" ),
|
||||
this, SLOT( flipY() ) );
|
||||
_cm->addAction( embed::getIconPixmap( "flip_x" ),
|
||||
tr( "Flip X" ),
|
||||
tr( "Flip Horizontally (Visible)" ),
|
||||
this, SLOT( flipX() ) );
|
||||
if( !m_pat->m_objects.isEmpty() )
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user