stbte: fix; prop button now draws 't' in default

prop button didn’t draw the ’t’ when the panel is expanded
pull/78/head
joshhuelsman 2015-01-30 21:59:01 -05:00
parent 6cc48214ac
commit 3f418bfe6e
1 changed files with 1 additions and 1 deletions

View File

@ -3443,7 +3443,7 @@ static void stbte__layers(stbte_tilemap *tm, int x0, int y0, int w, int h)
n = stbte__text_width("prop:")+2;
stbte__draw_text(x0,y+2, "prop:", w, STBTE__TEXTCOLOR(STBTE__cpanel));
i = w - n - 4;
if (i > 45) i = 45;
if (i > 50) i = 50;
if (stbte__button(STBTE__clayer_button, propmodes[tm->propmode], x0+n,y,0,i, STBTE__ID(STBTE__layer,256), 0,0))
tm->propmode = (tm->propmode+1)%3;
#endif