Fix smart mode cursor on audio regions.

This commit is contained in:
David Robillard 2014-12-30 12:49:59 -05:00
parent 5d1df86343
commit 486d47db0e
2 changed files with 8 additions and 4 deletions

View file

@ -1188,9 +1188,13 @@ Editor::which_canvas_cursor(ItemType type) const
switch (type) {
case RegionItem:
case RegionViewNameHighlight:
case RegionViewName:
case WaveItem:
/* We don't choose a cursor for these items on top of a region view,
because this would push a new context on the enter stack which
means switching the region context for things like smart mode
won't actualy change the cursor. */
// case RegionViewNameHighlight:
// case RegionViewName:
// case WaveItem:
case StreamItem:
case AutomationTrackItem:
cursor = which_track_cursor ();