commit 746c65470bcc6ea0b71a9739ceee5d99d897c1a2
parent 851a2a0ec386dca4f1523d79f9ce98efa42b01aa
Author: Michael Savage <mikejsavage@gmail.com>
Date: Tue, 4 Sep 2018 09:33:11 +0300
Fix overdirtying in textbox_draw
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/textbox.cc b/src/textbox.cc
@@ -153,5 +153,5 @@ void textbox_draw( const TextBox * tb ) {
rows_drawn += line_rows;
}
- ui_dirty( tb->x, tb->y, tb->x + tb->w, tb->y + tb->h );
+ ui_dirty( tb->x, tb->y, tb->w, tb->h );
}