From 8ef639d60c614fb522cd77d4a8926fcd39942ea2 Mon Sep 17 00:00:00 2001 From: Charles Dang Date: Tue, 6 Mar 2018 12:57:24 +1100 Subject: [PATCH] Editor/Tristate Button: don't try to draw text, this widget has no text --- src/editor/palette/tristate_button.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/editor/palette/tristate_button.cpp b/src/editor/palette/tristate_button.cpp index d0238c8e8588..c7539233a4c7 100644 --- a/src/editor/palette/tristate_button.cpp +++ b/src/editor/palette/tristate_button.cpp @@ -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