projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
050d46a
)
[Summary] Fixed issue with shifted playhead polygon when new session is created
author
GZharun
<grygoriiz@wavesglobal.com>
Mon, 15 Sep 2014 11:28:13 +0000
(14:28 +0300)
committer
Paul Davis
<paul@linuxaudiosystems.com>
Thu, 11 Dec 2014 13:53:26 +0000
(08:53 -0500)
gtk2_ardour/editor_cursors.cc
patch
|
blob
|
history
diff --git
a/gtk2_ardour/editor_cursors.cc
b/gtk2_ardour/editor_cursors.cc
index e0af33575bde3c60d4f6cdf7e23bd152f84edef5..ed5f3130132031d4e5c9f1616e5d2b33ea2fa5c6 100644
(file)
--- a/
gtk2_ardour/editor_cursors.cc
+++ b/
gtk2_ardour/editor_cursors.cc
@@
-47,6
+47,8
@@
EditorCursor::EditorCursor (Editor& ed, bool (Editor::*callbck)(GdkEvent*,Ardour
_track_canvas_item->Event.connect (sigc::bind (sigc::mem_fun (ed, callbck), _track_canvas_item));
_track_canvas_item->set_y1 (ArdourCanvas::COORD_MAX);
+
+ _track_canvas_item->set_x (0);
_current_frame = 1; /* force redraw at 0 */
}
@@
-62,6
+64,8
@@
EditorCursor::EditorCursor (Editor& ed)
_track_canvas_item->set_y1 (ArdourCanvas::COORD_MAX);
_track_canvas_item->set_ignore_events (true);
+ _track_canvas_item->set_x (0);
+
_current_frame = 1; /* force redraw at 0 */
}