Increase precision of numeric dB entry

This follows 5a41ca8fdf and df1e6fda2d.
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:
Robin Gareus 2020-08-01 09:57:18 +02:00
parent c2ffa07e28
commit 8b5737b8d2
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04
2 changed files with 2 additions and 2 deletions

View file

@ -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);
}