Skip to content

Commit

Permalink
Merge branch 'LMMS:master' into enable-vst-qt6
Browse files Browse the repository at this point in the history
  • Loading branch information
Rossmaxx authored May 19, 2024
2 parents 7d49b34 + 0ee05f5 commit 1e42bcd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions src/core/Sample.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,8 @@ void Sample::setAllPointFrames(int startFrame, int endFrame, int loopStartFrame,

void Sample::playRaw(sampleFrame* dst, size_t numFrames, const PlaybackState* state, Loop loopMode) const
{
if (m_buffer->size() < 1) { return; }

auto index = state->m_frameIndex;
auto backwards = state->m_backwards;

Expand Down
8 changes: 4 additions & 4 deletions src/gui/editors/PianoRoll.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4905,7 +4905,7 @@ PianoRollWindow::PianoRollWindow() :

m_quantizeComboBox = new ComboBox( m_toolBar );
m_quantizeComboBox->setModel( &m_editor->m_quantizeModel );
m_quantizeComboBox->setFixedSize( 64, ComboBox::DEFAULT_HEIGHT );
m_quantizeComboBox->setFixedSize(85, ComboBox::DEFAULT_HEIGHT);
m_quantizeComboBox->setToolTip( tr( "Quantization") );

// setup note-len-stuff
Expand All @@ -4929,7 +4929,7 @@ PianoRollWindow::PianoRollWindow() :

m_scaleComboBox = new ComboBox( m_toolBar );
m_scaleComboBox->setModel( &m_editor->m_scaleModel );
m_scaleComboBox->setFixedSize( 105, ComboBox::DEFAULT_HEIGHT );
m_scaleComboBox->setFixedSize(155, ComboBox::DEFAULT_HEIGHT);
m_scaleComboBox->setToolTip( tr( "Scale") );

// setup chord-stuff
Expand All @@ -4938,7 +4938,7 @@ PianoRollWindow::PianoRollWindow() :

m_chordComboBox = new ComboBox( m_toolBar );
m_chordComboBox->setModel( &m_editor->m_chordModel );
m_chordComboBox->setFixedSize( 105, ComboBox::DEFAULT_HEIGHT );
m_chordComboBox->setFixedSize(125, ComboBox::DEFAULT_HEIGHT);
m_chordComboBox->setToolTip( tr( "Chord" ) );

// setup snap-stuff
Expand All @@ -4947,7 +4947,7 @@ PianoRollWindow::PianoRollWindow() :

m_snapComboBox = new ComboBox(m_toolBar);
m_snapComboBox->setModel(&m_editor->m_snapModel);
m_snapComboBox->setFixedSize(105, ComboBox::DEFAULT_HEIGHT);
m_snapComboBox->setFixedSize(96, ComboBox::DEFAULT_HEIGHT);
m_snapComboBox->setToolTip(tr("Snap mode"));

// -- Clear ghost MIDI clip button
Expand Down

0 comments on commit 1e42bcd

Please sign in to comment.