disambiguate Rect for win/macOS

This commit is contained in:
Paul Davis 2021-12-15 09:32:58 -07:00
parent 97eb164b91
commit 8b600d0080

View File

@ -234,8 +234,8 @@ TriggerEntry::render (ArdourCanvas::Rect const & area, Cairo::RefPtr<Cairo::Cont
/* Note that item_to_window() already takes _position into account (as
part of item_to_canvas()
*/
Rect self (item_to_window (_rect));
const Rect draw = self.intersection (area);
ArdourCanvas::Rect self (item_to_window (_rect));
const ArdourCanvas::Rect draw = self.intersection (area);
if (!draw) {
return;