diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2009-03-02 20:59:13 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2009-03-02 20:59:13 +0000 |
commit | 6eccd043f22d9ddfa6418c4342e0a9fd5476a7dd (patch) | |
tree | e7c671e94b63ed713c34a88e8dc57ebf5d3cfd0e /gtk2_ardour/imageframe_time_axis.cc | |
parent | a453d545080c5e8ec0cb54161ee826ad479d6d69 (diff) |
ICS (image compositor socket) patches from robin gareus, to keep ICS alive in 2.X; variations on giso's proposed fix for #1731 (x-fade clicking)
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4720 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/imageframe_time_axis.cc')
-rw-r--r-- | gtk2_ardour/imageframe_time_axis.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gtk2_ardour/imageframe_time_axis.cc b/gtk2_ardour/imageframe_time_axis.cc index f3630e7152..700a160dcd 100644 --- a/gtk2_ardour/imageframe_time_axis.cc +++ b/gtk2_ardour/imageframe_time_axis.cc @@ -138,6 +138,7 @@ ImageFrameTimeAxis::~ImageFrameTimeAxis () void ImageFrameTimeAxis::set_height (uint32_t h) { + bool changed = (height == 0) || (h != height); VisualTimeAxis::set_height(h) ; // tell out view helper of the change too @@ -146,8 +147,10 @@ ImageFrameTimeAxis::set_height (uint32_t h) view->set_height((double) height) ; } + if (changed) { // tell those interested that we have had our height changed - gui_changed("track_height",(void*)0); /* EMIT_SIGNAL */ + gui_changed("track_height",(void*)0); /* EMIT_SIGNAL */ + } } /** |