Fix inverted zoom direction (#3273)
This commit is contained in:
@@ -76,7 +76,7 @@ QPixmap * AutomationEditor::s_toolYFlip = NULL;
|
||||
QPixmap * AutomationEditor::s_toolXFlip = NULL;
|
||||
|
||||
const QVector<double> AutomationEditor::m_zoomXLevels =
|
||||
{ 0.125f, 0.25f, 0.5f, 1.0f, 2.0f, 4.0f, 8.0f };
|
||||
{ 8.0f, 4.0f, 2.0f, 1.0f, 0.5f, 0.25f, 0.125f };
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -153,7 +153,7 @@ PianoRoll::PianoRollKeyTypes PianoRoll::prKeyOrder[] =
|
||||
const int DEFAULT_PR_PPT = KEY_LINE_HEIGHT * DefaultStepsPerTact;
|
||||
|
||||
const QVector<double> PianoRoll::m_zoomLevels =
|
||||
{ 0.125f, 0.25f, 0.5f, 1.0f, 2.0f, 4.0f, 8.0f };
|
||||
{ 8.0f, 4.0f, 2.0f, 1.0f, 0.5f, 0.25f, 0.125f };
|
||||
|
||||
|
||||
PianoRoll::PianoRoll() :
|
||||
|
||||
@@ -75,7 +75,7 @@ void positionLine::paintEvent( QPaintEvent * pe )
|
||||
}
|
||||
|
||||
const QVector<double> SongEditor::m_zoomLevels =
|
||||
{ 0.125f, 0.25f, 0.5f, 1.0f, 2.0f, 4.0f, 8.0f, 16.0f };
|
||||
{ 16.0f, 8.0f, 4.0f, 2.0f, 1.0f, 0.5f, 0.25f, 0.125f };
|
||||
|
||||
|
||||
SongEditor::SongEditor( Song * song ) :
|
||||
|
||||
Reference in New Issue
Block a user