13
0

only UI scale the scroomer itself, not the kbd header

This commit is contained in:
Paul Davis 2023-09-26 11:33:11 -06:00
parent 201b9574a2
commit 3166ca7ffd

View File

@ -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