puzzles: correct drawmode for text

DRMODE_FG should be used instead of DRMODE_COMPLEMENT to allow text to
be drawn in color, benefitting puzzles such as Slant and Pattern.

Change-Id: I292216490a58344cb93dc5c2ec1780229735313a
This commit is contained in:
Franklin Wei 2017-06-02 18:19:10 -04:00
parent 6d541fe9b6
commit cefbde0bbb

View file

@ -167,7 +167,7 @@ static void rb_draw_text(void *handle, int x, int y, int fonttype,
x -= w;
rb_color(color);
rb->lcd_set_drawmode(DRMODE_COMPLEMENT);
rb->lcd_set_drawmode(DRMODE_FG);
rb->lcd_putsxy(x, y, text);
rb->lcd_set_drawmode(DRMODE_SOLID);
}