diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/EditView.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/EditView.cxx b/src/EditView.cxx index a7b98e233..100d3d18b 100644 --- a/src/EditView.cxx +++ b/src/EditView.cxx @@ -1638,6 +1638,11 @@ void EditView::DrawAnnotation(Surface *surface, const EditModel &model, const Vi surface->FillRectangle(Side(rcBorder, Edge::bottom, 1), colourBorder); } } + } else { + // No annotation to draw so show bug with bugColour + if (FlagSet(phase, DrawPhase::back)) { + surface->FillRectangle(rcSegment, bugColour.Opaque()); + } } } |