1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-12-11 15:16:27 +01:00

Default MIDI track height is enough to display velocity slider...

... It is computed from the layout table, and in fact comes to 158 pixels,
versus 150 for other tracks.
This commit is contained in:
Paul Licameli
2017-06-06 21:40:58 -04:00
parent 0204cd80c5
commit f0c149b890
5 changed files with 38 additions and 7 deletions

View File

@@ -118,6 +118,8 @@ private:
#endif
public:
static unsigned DefaultNoteTrackHeight();
LWSlider * GainSlider(WaveTrack *t, bool captured = false) const;
LWSlider * PanSlider(WaveTrack *t, bool captured = false) const;
@@ -920,6 +922,7 @@ enum : int {
kTrackInfoSliderHeight = 25,
kTrackInfoSliderWidth = 84,
kTrackInfoSliderAllowance = 5,
kTrackInfoSliderExtra = 5,
};
#ifdef USE_MIDI