From ccf83b992b7f0de00d384d17b1a3406a0fca28ab Mon Sep 17 00:00:00 2001 From: Rusty Wagner Date: Mon, 24 Oct 2022 16:10:05 -0600 Subject: Fix rendering of code lines when scrolling right, fix TokenizedTextView example --- ui/render.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui') diff --git a/ui/render.h b/ui/render.h index 92dc654f..e8a03774 100644 --- a/ui/render.h +++ b/ui/render.h @@ -91,7 +91,7 @@ class BINARYNINJAUIAPI RenderContext void drawInstructionHighlight(QPainter& p, const QRect& rect); void drawLinearDisassemblyLineBackground( - QPainter& p, BNLinearDisassemblyLineType type, const QRect& rect, int gutterWidth); + QPainter& p, BNLinearDisassemblyLineType type, const QRect& rect, const QRect& dirtyRect, int gutterWidth); void drawDisassemblyLine(QPainter& p, int left, int top, const std::vector& tokens, HighlightTokenState& highlight, bool highlightOnly = false); -- cgit v1.3.1