fixed vlist alignment
This commit is contained in:
1 parent
a6835349df
commit
5bc288b2b1
1 file changed
+1
-2
@@ -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);
|
||||||
|
|||||||
Reference in new issue
Block a user