projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c58340
)
Fix overlapping group labels in the audio matrix (#1882).
v2.15.109
author
Carl Hetherington
<cth@carlh.net>
Sun, 29 Nov 2020 23:19:32 +0000
(
00:19
+0100)
committer
Carl Hetherington
<cth@carlh.net>
Sun, 29 Nov 2020 23:19:32 +0000
(
00:19
+0100)
src/wx/audio_mapping_view.cc
patch
|
blob
|
history
diff --git
a/src/wx/audio_mapping_view.cc
b/src/wx/audio_mapping_view.cc
index 14dc73321646018d08e12e8507dbc14fc85e9f0a..01cd7738b0922215f2fff415cf2060587c514341 100644
(file)
--- a/
src/wx/audio_mapping_view.cc
+++ b/
src/wx/audio_mapping_view.cc
@@
-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;