fixed some interface font issues.

This commit is contained in:
2003-05-06 12:51:04 +00:00
parent a9193a88ca
commit 079e41fe10
2 changed files with 7 additions and 5 deletions

View File

@@ -3154,14 +3154,16 @@ static int ui_do_block(uiBlock *block, uiEvent *uevent)
if(but->flag & UI_MOUSE_OVER) {
if( (but->flag & UI_ACTIVE)==0) {
but->flag |= UI_ACTIVE;
if(but->type != LABEL) ui_draw_but(but);
if(but->type != LABEL &&
but->embossfunc != ui_emboss_N) ui_draw_but(but);
}
}
/* hilite case 2 */
if(but->flag & UI_ACTIVE) {
if( (but->flag & UI_MOUSE_OVER)==0) {
but->flag &= ~UI_ACTIVE;
if(but->type != LABEL) ui_draw_but(but);
if(but->type != LABEL &&
but->embossfunc != ui_emboss_N) ui_draw_but(but);
}
if(but->flag & UI_ACTIVE) active= 1;
}