mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
reset time-axis peak when meter-point changes - fixes #5771
This commit is contained in:
parent
c1e8da2e60
commit
9a50b56930
2 changed files with 3 additions and 0 deletions
|
|
@ -101,6 +101,7 @@ class GainMeterBase : virtual public sigc::trackable, ARDOUR::SessionHandlePtr
|
||||||
|
|
||||||
friend class MixerStrip;
|
friend class MixerStrip;
|
||||||
friend class MeterStrip;
|
friend class MeterStrip;
|
||||||
|
friend class RouteTimeAxisView;
|
||||||
boost::shared_ptr<ARDOUR::Route> _route;
|
boost::shared_ptr<ARDOUR::Route> _route;
|
||||||
boost::shared_ptr<ARDOUR::PeakMeter> _meter;
|
boost::shared_ptr<ARDOUR::PeakMeter> _meter;
|
||||||
boost::shared_ptr<ARDOUR::Amp> _amp;
|
boost::shared_ptr<ARDOUR::Amp> _amp;
|
||||||
|
|
|
||||||
|
|
@ -2266,6 +2266,8 @@ RouteTimeAxisView::meter_changed ()
|
||||||
if (_route && !no_redraw) {
|
if (_route && !no_redraw) {
|
||||||
request_redraw ();
|
request_redraw ();
|
||||||
}
|
}
|
||||||
|
// reset peak when meter point changes
|
||||||
|
gm.reset_peak_display();
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue