Fix overlapping group labels in the audio matrix (#1882). v2.15.109
authorCarl Hetherington <cth@carlh.net>
Sun, 29 Nov 2020 23:19:32 +0000 (00:19 +0100)
committerCarl Hetherington <cth@carlh.net>
Sun, 29 Nov 2020 23:19:32 +0000 (00:19 +0100)
src/wx/audio_mapping_view.cc

index 14dc73321646018d08e12e8507dbc14fc85e9f0a..01cd7738b0922215f2fff415cf2060587c514341 100644 (file)
@@ -252,6 +252,7 @@ AudioMappingView::paint_row_labels (wxDC& dc)
                }
 
                {
+                       wxDCClipper clip (dc, wxRect(GRID_SPACING, y, GRID_SPACING, height));
                        int yp = y;
                        if ((yp - 2 * GRID_SPACING) < dc.GetLogicalOrigin().y) {
                                yp += dc.GetLogicalOrigin().y;