fixed vlist alignment
This commit is contained in:
parent
6b1eaca6f4
commit
f39a3226bd
|
@ -255,8 +255,7 @@ void
|
||||||
drawmenuv(void) {
|
drawmenuv(void) {
|
||||||
Item *i;
|
Item *i;
|
||||||
|
|
||||||
dc.x = 0;
|
dc.w = mw - dc.x;
|
||||||
dc.w = mw;
|
|
||||||
dc.y += dc.font.height + 2;
|
dc.y += dc.font.height + 2;
|
||||||
for(i = curr; i != next; i=i->right) {
|
for(i = curr; i != next; i=i->right) {
|
||||||
drawtext(i->text, (sel == i) ? dc.sel : dc.norm);
|
drawtext(i->text, (sel == i) ? dc.sel : dc.norm);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user