forked from bartvdbraak/blender
Fix for missing space between colon and number in sliders buttons.
This commit is contained in:
parent
bffad18da8
commit
dcf54b9b66
@ -2333,7 +2333,7 @@ static uiBut *ui_def_but(uiBlock *block, int type, int retval, char *str, short
|
||||
|
||||
but->pos= -1; /* cursor invisible */
|
||||
|
||||
if(ELEM(but->type, NUM, NUMABS)) { /* add a space to name */
|
||||
if(ELEM4(but->type, NUM, NUMABS, NUMSLI, HSVSLI)) { /* add a space to name */
|
||||
slen= strlen(but->str);
|
||||
if(slen>0 && slen<UI_MAX_NAME_STR-2) {
|
||||
if(but->str[slen-1]!=' ') {
|
||||
|
Loading…
Reference in New Issue
Block a user