summaryrefslogtreecommitdiff
path: root/sys/src/ape/lib/bsd
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@gmx.de>2013-01-08 03:45:49 +0100
committercinap_lenrek <cinap_lenrek@gmx.de>2013-01-08 03:45:49 +0100
commit7295fa71a42de4a5bb4f2449005d71251899d062 (patch)
tree81db0ac938594f67e310a5a800aa11198e1ae511 /sys/src/ape/lib/bsd
parent4041ea394ba19b45122ed8f661478ef9b562e138 (diff)
libdraw: fix wrong menusel() calculation for menuhit() (noticable with small fonts)
the text for a menu entry is drawn from: y = textr.min.y + i*(font->height+Vspacing); but we calculated the item from: r = insetrect(textr); i = (p.y - r.min.y) / (font->height+Vspacing); the insetrect is wrong.
Diffstat (limited to 'sys/src/ape/lib/bsd')
0 files changed, 0 insertions, 0 deletions