From 5757ff9272ca2a6efa1597987c60915c9d583104 Mon Sep 17 00:00:00 2001 From: Klaus Rettinghaus Date: Fri, 16 Feb 2024 12:54:01 +0100 Subject: [PATCH] fix doubled graphic --- src/view_tab.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/view_tab.cpp b/src/view_tab.cpp index ecd12728cae..c1172885fb7 100644 --- a/src/view_tab.cpp +++ b/src/view_tab.cpp @@ -98,8 +98,6 @@ void View::DrawTabNote(DeviceContext *dc, LayerElement *element, Layer *layer, S // TabGrp *tabGrp = note->IsTabGrpNote(); // assert(tabGrp); - dc->StartGraphic(note, "", note->GetID()); - int x = element->GetDrawingX(); int y = element->GetDrawingY(); @@ -152,8 +150,6 @@ void View::DrawTabNote(DeviceContext *dc, LayerElement *element, Layer *layer, S // Draw children (nothing yet) this->DrawLayerChildren(dc, note, layer, staff, measure); - - dc->EndGraphic(note, this); } void View::DrawTabDurSym(DeviceContext *dc, LayerElement *element, Layer *layer, Staff *staff, Measure *measure)