Skip to content

Commit

Permalink
Editor/Tristate Button: don't try to draw text, this widget has no text
Browse files Browse the repository at this point in the history
  • Loading branch information
Vultraz committed Mar 6, 2018
1 parent 957fdc8 commit 8ef639d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/editor/palette/tristate_button.cpp
Expand Up @@ -257,8 +257,6 @@ void tristate_button::draw_contents() {
clipArea.y += offset;
clipArea.w -= 2 * offset;
clipArea.h -= 2 * offset;
font::draw_text(&video(), clipArea, font_size, button_color, label_, textx,
texty);
}

//TODO move to widget
Expand Down

0 comments on commit 8ef639d

Please sign in to comment.