disambiguate another use of Rect on OS X
This commit is contained in:
parent
7a0b2e1c18
commit
902e202f3e
|
@ -163,7 +163,7 @@ bool
|
||||||
Editor::canvas_scroll_event (GdkEventScroll *event, bool from_canvas)
|
Editor::canvas_scroll_event (GdkEventScroll *event, bool from_canvas)
|
||||||
{
|
{
|
||||||
if (from_canvas) {
|
if (from_canvas) {
|
||||||
boost::optional<Rect> rulers = _time_markers_group->bounding_box();
|
boost::optional<ArdourCanvas::Rect> rulers = _time_markers_group->bounding_box();
|
||||||
if (rulers && rulers->contains (Duple (event->x, event->y))) {
|
if (rulers && rulers->contains (Duple (event->x, event->y))) {
|
||||||
return canvas_ruler_event ((GdkEvent*) event, timecode_ruler, TimecodeRulerItem);
|
return canvas_ruler_event ((GdkEvent*) event, timecode_ruler, TimecodeRulerItem);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user