remove another pointless adjustment
This commit is contained in:
parent
05caa9caa1
commit
cfe4bfb732
@ -699,7 +699,6 @@ class Editor : public PublicEditor, public PBD::ScopedConnectionList, public ARD
|
||||
|
||||
ArdourCanvas::GtkCanvas* _time_bars_canvas;
|
||||
ArdourCanvas::GtkCanvasViewport* _time_bars_canvas_viewport;
|
||||
Gtk::Adjustment* _time_bars_canvas_vadj;
|
||||
|
||||
bool within_track_canvas;
|
||||
|
||||
|
@ -71,8 +71,7 @@ Editor::initialize_canvas ()
|
||||
_track_canvas_viewport = new ArdourCanvas::GtkCanvasViewport (horizontal_adjustment, vertical_adjustment);
|
||||
_track_canvas = _track_canvas_viewport->canvas ();
|
||||
|
||||
_time_bars_canvas_vadj = new Adjustment (0, 0, 1e16);
|
||||
_time_bars_canvas_viewport = new ArdourCanvas::GtkCanvasViewport (horizontal_adjustment, *_time_bars_canvas_vadj);
|
||||
_time_bars_canvas_viewport = new ArdourCanvas::GtkCanvasViewport (horizontal_adjustment, unused_adjustment);
|
||||
_time_bars_canvas = _time_bars_canvas_viewport->canvas ();
|
||||
|
||||
_verbose_cursor = new VerboseCursor (this);
|
||||
|
Loading…
Reference in New Issue
Block a user