Skip to content

Commit

Permalink
Nothing .. really!
Browse files Browse the repository at this point in the history
  • Loading branch information
Dendraspis committed Mar 7, 2021
1 parent 23a123d commit d81f00d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion UI/Controls/Controls.vb
Original file line number Diff line number Diff line change
Expand Up @@ -794,7 +794,7 @@ Namespace UI
Dim glyphLocation As Point = New Point(hPos, vPos)
Dim textLocation As Point = New Point(hPos + glyphSize.Width + hPos, Height - (Height - TextRenderer.MeasureText(Text, Font).Height) \ 3)
Dim textFlags As TextFormatFlags = TextFormatFlags.SingleLine Or TextFormatFlags.VerticalCenter
Dim fColor As ColorHSL = If(MyBase.Checked, _theme.General.Controls.CheckBox.ForeCheckedColor, _theme.General.Controls.CheckBox.ForeColor)
Dim fColor As ColorHSL = If(Checked, _theme.General.Controls.CheckBox.ForeCheckedColor, _theme.General.Controls.CheckBox.ForeColor)

CheckBoxRendererEx.DrawCheckBox(pevent.Graphics, glyphLocation, state)
TextRenderer.DrawText(pevent.Graphics, Text, Font, textLocation, fColor, textFlags)
Expand Down

0 comments on commit d81f00d

Please sign in to comment.