summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_cursors.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2013-04-10 10:24:17 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2013-04-10 10:24:17 -0400
commit97da762c50064c3dcb64692a6eea286ea4de5fef (patch)
tree1a454a24dd6f9541d155918f36ea9ca3aa35fdfc /gtk2_ardour/editor_cursors.cc
parentbca507a80811e0878f976434767bc45cd61f5ab3 (diff)
make size/shape of playhead cursor match gnomecanvas version
Diffstat (limited to 'gtk2_ardour/editor_cursors.cc')
-rw-r--r--gtk2_ardour/editor_cursors.cc11
1 files changed, 5 insertions, 6 deletions
diff --git a/gtk2_ardour/editor_cursors.cc b/gtk2_ardour/editor_cursors.cc
index 4a123f1e79..afe5b22bfc 100644
--- a/gtk2_ardour/editor_cursors.cc
+++ b/gtk2_ardour/editor_cursors.cc
@@ -39,12 +39,11 @@ EditorCursor::EditorCursor (Editor& ed, bool (Editor::*callbck)(GdkEvent*,Ardour
_time_bars_canvas_item.set_outline_width (1);
_track_canvas_item.set_outline_width (1);
- for (int i = 0; i < 2; ++i) {
- _time_bars_canvas_item.set_show_head (i, true);
- _time_bars_canvas_item.set_head_height (i, 18);
- _time_bars_canvas_item.set_head_width (i, 15);
- _time_bars_canvas_item.set_head_outward (i, false);
- }
+ _time_bars_canvas_item.set_show_head (0, true);
+ _time_bars_canvas_item.set_head_height (0, 9);
+ _time_bars_canvas_item.set_head_width (0, 16);
+ _time_bars_canvas_item.set_head_outward (0, false);
+ _time_bars_canvas_item.set_show_head (1, false); // head only
_time_bars_canvas_item.set_data ("cursor", this);
_track_canvas_item.set_data ("cursor", this);