mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
Only shrink top/bottom of selection frame
This commit is contained in:
parent
7dba6564f6
commit
aed4c9815a
1 changed files with 3 additions and 3 deletions
|
|
@ -500,7 +500,7 @@ TimeAxisViewItem::set_selected(bool yn)
|
|||
selection_frame->set_outline_color (UIConfiguration::instance().color ("selected time axis frame"));
|
||||
selection_frame->set_ignore_events (true);
|
||||
}
|
||||
selection_frame->set (frame->get().shrink (1.0));
|
||||
selection_frame->set (frame->get().shrink (1.0, 0.0, 1.0, 0.0));
|
||||
selection_frame->show ();
|
||||
} else {
|
||||
if (selection_frame) {
|
||||
|
|
@ -567,7 +567,7 @@ TimeAxisViewItem::set_height (double height)
|
|||
}
|
||||
|
||||
if (selection_frame) {
|
||||
selection_frame->set (frame->get().shrink (1.0));
|
||||
selection_frame->set (frame->get().shrink (1.0, 0.0, 1.0, 0.0));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -834,7 +834,7 @@ TimeAxisViewItem::reset_width_dependent_items (double pixel_width)
|
|||
frame->set_x1 (pixel_width);
|
||||
|
||||
if (selection_frame) {
|
||||
selection_frame->set (frame->get().shrink (1.0));
|
||||
selection_frame->set (frame->get().shrink (1.0, 0.0, 1.0, 0.0));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue