make our intentions even clearer when call Editor::track_canvas_viewport_size_allocated()
This commit is contained in:
parent
fea4f14242
commit
dbb8501429
@ -1448,7 +1448,7 @@ class Editor : public PublicEditor, public PBD::ScopedConnectionList, public ARD
|
||||
|
||||
Gtk::Allocation _canvas_viewport_allocation;
|
||||
void track_canvas_viewport_allocate (Gtk::Allocation alloc);
|
||||
bool track_canvas_viewport_size_allocated ();
|
||||
void track_canvas_viewport_size_allocated ();
|
||||
bool track_canvas_drag_motion (Glib::RefPtr<Gdk::DragContext> const &, int, int, guint);
|
||||
bool track_canvas_key_press (GdkEventKey *);
|
||||
bool track_canvas_key_release (GdkEventKey *);
|
||||
|
@ -255,10 +255,10 @@ void
|
||||
Editor::track_canvas_viewport_allocate (Gtk::Allocation alloc)
|
||||
{
|
||||
_canvas_viewport_allocation = alloc;
|
||||
(void) track_canvas_viewport_size_allocated ();
|
||||
track_canvas_viewport_size_allocated ();
|
||||
}
|
||||
|
||||
bool
|
||||
void
|
||||
Editor::track_canvas_viewport_size_allocated ()
|
||||
{
|
||||
bool height_changed = _visible_canvas_height != _canvas_viewport_allocation.get_height();
|
||||
@ -289,8 +289,6 @@ Editor::track_canvas_viewport_size_allocated ()
|
||||
update_fixed_rulers();
|
||||
redisplay_tempo (false);
|
||||
_summary->set_overlays_dirty ();
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
void
|
||||
|
Loading…
Reference in New Issue
Block a user