Skip to content

Commit 47ba7d1

Browse files
author
moca_skr
committed
Fix: 対括弧強調のノート線と縦線の描画順が反対(r3948-)
[patchunicode:#972] 通常描画ではノート線、縦線の順に描画するのに対し 対括弧強調では、縦線、ノート線の順になっていたのを、ノート線、縦線に統一します。 git-svn-id: https://svn.code.sf.net/p/sakura-editor/code/sakura/trunk2@3977 f7ce1907-e4c7-47ca-9f76-12c87ed2c91c
1 parent 6974d56 commit 47ba7d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sakura_core/view/CEditView_Paint_Bracket.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,9 +231,9 @@ void CEditView::DrawBracketPair( bool bDraw )
231231
DispPos sPos(nWidth, nHeight);
232232
sPos.InitDrawPos(CMyPoint(nLeft, nTop));
233233
GetTextDrawer().DispText(gr, &sPos, &pLine[OutputX], 1, bTrans);
234+
GetTextDrawer().DispNoteLine(gr, nTop, nTop + nHeight, nLeft, nLeft + (Int)charsWidth * nWidth);
234235
// 2006.04.30 Moca 対括弧の縦線対応
235236
GetTextDrawer().DispVerticalLines(gr, nTop, nTop + nHeight, ptColLine.x, ptColLine.x + charsWidth); //※括弧が全角幅である場合を考慮
236-
GetTextDrawer().DispNoteLine(gr, nTop, nTop + nHeight, nLeft, nLeft + (Int)charsWidth * nWidth);
237237
cTextType.RewindGraphicsState(gr);
238238
}
239239

0 commit comments

Comments
 (0)