summaryrefslogtreecommitdiff
path: root/gtk2_ardour/crossfade_view.cc
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-06-01 17:00:29 +0000
committerDavid Robillard <d@drobilla.net>2011-06-01 17:00:29 +0000
commited626628b54e67dd9621c08d82a42afaed00c7ac (patch)
treecf621db4c44f07f75a6e6a3fb7f572cd2c3622cd /gtk2_ardour/crossfade_view.cc
parenta473d630eb165272992e90f8d854b1d66ec0be63 (diff)
Delete trailing whitespace
git-svn-id: svn://localhost/ardour2/branches/3.0@9656 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/crossfade_view.cc')
-rw-r--r--gtk2_ardour/crossfade_view.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk2_ardour/crossfade_view.cc b/gtk2_ardour/crossfade_view.cc
index 0c420e74ad..d553514c81 100644
--- a/gtk2_ardour/crossfade_view.cc
+++ b/gtk2_ardour/crossfade_view.cc
@@ -179,7 +179,7 @@ CrossfadeView::redraw_curves ()
/* Hence the number of points that we will render */
int32_t const npoints = editor.frame_to_pixel (max_frames - min_frames);
-
+
if (!_visible || !crossfade->active() || npoints < 3) {
fade_in->hide();
fade_out->hide();
@@ -215,7 +215,7 @@ CrossfadeView::redraw_curves ()
p.set_x (xoff + i + 1);
p.set_y (_height - ((_height - 2) * vec[i]));
}
-
+
fade_out->property_points() = *points;
delete [] vec;
@@ -298,7 +298,7 @@ CrossfadeView::horizontal_position_changed ()
the other case where the horizontal position change will uncover `undrawn'
sections).
*/
-
+
if (!_all_in_view) {
redraw_curves ();
}