mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-08 15:54:57 +01:00
No-op: coding style.
git-svn-id: svn://localhost/ardour2/branches/3.0@8873 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
738b2b85f5
commit
fbbddf78c9
1 changed files with 13 additions and 17 deletions
|
|
@ -73,12 +73,12 @@ int const TimeAxisView::_max_order = 512;
|
|||
PBD::Signal1<void,TimeAxisView*> TimeAxisView::CatchDeletion;
|
||||
|
||||
TimeAxisView::TimeAxisView (ARDOUR::Session* sess, PublicEditor& ed, TimeAxisView* rent, Canvas& /*canvas*/)
|
||||
: AxisView (sess),
|
||||
controls_table (2, 8),
|
||||
_size_menu (0),
|
||||
_y_position (0),
|
||||
_editor (ed),
|
||||
_order (0)
|
||||
: AxisView (sess)
|
||||
, controls_table (2, 8)
|
||||
, _size_menu (0)
|
||||
, _y_position (0)
|
||||
, _editor (ed)
|
||||
, _order (0)
|
||||
{
|
||||
if (extra_height == 0) {
|
||||
compute_heights ();
|
||||
|
|
@ -390,11 +390,9 @@ TimeAxisView::step_height (bool bigger)
|
|||
if (bigger) {
|
||||
if (height == preset_height(HeightSmall)) {
|
||||
set_height_enum (HeightSmaller);
|
||||
}
|
||||
else if (height == preset_height(HeightSmaller)) {
|
||||
} else if (height == preset_height(HeightSmaller)) {
|
||||
set_height_enum (HeightNormal);
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
set_height (height + step);
|
||||
}
|
||||
|
||||
|
|
@ -405,11 +403,9 @@ TimeAxisView::step_height (bool bigger)
|
|||
|
||||
if (height <= preset_height (HeightSmaller) && height > preset_height (HeightSmall)) {
|
||||
set_height_enum (HeightSmall);
|
||||
}
|
||||
else if (height <= preset_height (HeightNormal) && height > preset_height (HeightSmaller)) {
|
||||
} else if (height <= preset_height (HeightNormal) && height > preset_height (HeightSmaller)) {
|
||||
set_height_enum (HeightSmaller);
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
set_height (height - step);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue