Skip to content

Commit 6efb2af

Browse files
committed
* Fix accidental checkbox change due to font height change
1 parent 489e5dc commit 6efb2af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wm/widgets/checkbox.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ bool WidgetCheckbox_OnEvent(Control* this, int eventType, long parm1, UNUSED lon
5050
//if checked, mark it as "checked"
5151
if (this->m_checkBoxData.m_checked)
5252
{
53-
VidTextOut("\x15", check_rect.left + 3, check_rect.top + 3, WINDOW_TEXT_COLOR, TRANSPARENT);
53+
VidTextOut("\x15", check_rect.left + 3, check_rect.top + 2, WINDOW_TEXT_COLOR, TRANSPARENT);
5454
}
5555

5656
VidDrawText(this->m_text, text_rect, TEXTSTYLE_WORDWRAPPED, WINDOW_TEXT_COLOR, WINDOW_BACKGD_COLOR);

0 commit comments

Comments
 (0)