mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-30 08:53:08 +01:00
only UI scale the scroomer itself, not the kbd header
This commit is contained in:
parent
201b9574a2
commit
3166ca7ffd
1 changed files with 3 additions and 4 deletions
|
|
@ -834,13 +834,12 @@ void
|
|||
PianoRollHeader::on_size_request (Gtk::Requisition* r)
|
||||
{
|
||||
if (show_scroomer()) {
|
||||
_scroomer_size = 60.f;
|
||||
_scroomer_size = 60.f * UIConfiguration::instance().get_ui_scale();
|
||||
} else {
|
||||
_scroomer_size = 20.f;
|
||||
_scroomer_size = 20.f * UIConfiguration::instance().get_ui_scale();
|
||||
}
|
||||
|
||||
float w = _scroomer_size + 20.f;
|
||||
r->width = std::max (w, rintf (w * UIConfiguration::instance().get_ui_scale()));
|
||||
r->width = _scroomer_size + 20.f;
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue