fix scaling of master-meter in toolbar
This commit is contained in:
parent
6cb742c289
commit
3e1fecbf37
@ -223,8 +223,8 @@ ARDOUR_UI::set_session (Session *s)
|
|||||||
|
|
||||||
editor_meter_peak_display.set_name ("meterbridge peakindicator");
|
editor_meter_peak_display.set_name ("meterbridge peakindicator");
|
||||||
editor_meter_peak_display.unset_flags (Gtk::CAN_FOCUS);
|
editor_meter_peak_display.unset_flags (Gtk::CAN_FOCUS);
|
||||||
editor_meter_peak_display.set_size_request(std::max(8.f, rintf(8.f * ui_scale)), -1);
|
editor_meter_peak_display.set_size_request (std::max(9.f, rintf(8.f * ui_scale)), -1);
|
||||||
editor_meter_peak_display.set_corner_radius(3 * ui_scale);
|
editor_meter_peak_display.set_corner_radius (3.0);
|
||||||
|
|
||||||
editor_meter_max_peak = -INFINITY;
|
editor_meter_max_peak = -INFINITY;
|
||||||
editor_meter_peak_display.signal_button_release_event().connect (sigc::mem_fun(*this, &ARDOUR_UI::editor_meter_peak_button_release), false);
|
editor_meter_peak_display.signal_button_release_event().connect (sigc::mem_fun(*this, &ARDOUR_UI::editor_meter_peak_button_release), false);
|
||||||
|
Loading…
Reference in New Issue
Block a user