uniblock: fixed-width progress bar to better show off smooth fill #1209

This commit is contained in:
nick black 2020-12-14 13:43:57 -05:00
parent 5036e655cb
commit ee9ed23e04
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

View File

@ -32,7 +32,7 @@ pbar_make(struct notcurses* nc, int row){
.y = row < 0 ? 4 : row,
.x = row < 0 ? 1 : NCALIGN_CENTER,
.rows = row < 0 ? dimy - 5 : 1,
.cols = row < 0 ? 1 : dimx - 20,
.cols = row < 0 ? 1 : 20,
.name = "pbar",
.flags = row < 0 ? 0 : NCPLANE_OPTION_HORALIGNED,
};