mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Remove some debug logging
This commit is contained in:
parent
3ab2ef5924
commit
975bdecae5
2 changed files with 2 additions and 3 deletions
|
|
@ -241,8 +241,8 @@ public:
|
||||||
|
|
||||||
private:
|
private:
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
struct MidiDeviceListBox : public ListBox,
|
struct MidiDeviceListBox : private ListBoxModel,
|
||||||
private ListBoxModel
|
public ListBox
|
||||||
{
|
{
|
||||||
MidiDeviceListBox (const String& name,
|
MidiDeviceListBox (const String& name,
|
||||||
MidiDemo& contentComponent,
|
MidiDemo& contentComponent,
|
||||||
|
|
|
||||||
|
|
@ -350,7 +350,6 @@ public:
|
||||||
auto newY = content.getY();
|
auto newY = content.getY();
|
||||||
auto newW = jmax (owner.minimumRowWidth, getMaximumVisibleWidth());
|
auto newW = jmax (owner.minimumRowWidth, getMaximumVisibleWidth());
|
||||||
auto newH = owner.totalItems * owner.getRowHeight();
|
auto newH = owner.totalItems * owner.getRowHeight();
|
||||||
DBG (owner.totalItems);
|
|
||||||
|
|
||||||
if (newY + newH < getMaximumVisibleHeight() && newH > getMaximumVisibleHeight())
|
if (newY + newH < getMaximumVisibleHeight() && newH > getMaximumVisibleHeight())
|
||||||
newY = getMaximumVisibleHeight() - newH;
|
newY = getMaximumVisibleHeight() - newH;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue