mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 23:35:03 +01:00
Increase precision of numeric dB entry
This follows5a41ca8fdfanddf1e6fda2d. Even though this kind of precision is rarely needed, rounding to a single digit is inconsistent with various places that display more than one digit, or allow more accurate control.
This commit is contained in:
parent
c2ffa07e28
commit
8b5737b8d2
2 changed files with 2 additions and 2 deletions
|
|
@ -61,7 +61,7 @@ BarController::BarController (Gtk::Adjustment& adj,
|
|||
spinner.signal_activate().connect (mem_fun (*this, &BarController::entry_activated));
|
||||
spinner.signal_focus_out_event().connect (mem_fun (*this, &BarController::entry_focus_out));
|
||||
if (mc && mc->is_gain_like ()) {
|
||||
spinner.set_digits (1); // 0.1 dB
|
||||
spinner.set_digits (2); // 0.01 dB
|
||||
} else {
|
||||
spinner.set_digits (4);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue