More TODOs.
This commit is contained in:
parent
8fba540a1c
commit
e246a9bd5f
|
@ -49,7 +49,7 @@ static void doselect(struct table *t, intptr_t row, intptr_t column)
|
||||||
clientWidth = client.right - client.left;
|
clientWidth = client.right - client.left;
|
||||||
if (xpos + width > t->hscrollpos + clientWidth) // > because both sides deal with the first pixel outside
|
if (xpos + width > t->hscrollpos + clientWidth) // > because both sides deal with the first pixel outside
|
||||||
// if the column is too wide, then just make it occupy the whole visible area (left-aligned)
|
// if the column is too wide, then just make it occupy the whole visible area (left-aligned)
|
||||||
if (width > clientWidth)
|
if (width > clientWidth) // TODO >= ?
|
||||||
hscrollto(t, xpos);
|
hscrollto(t, xpos);
|
||||||
else
|
else
|
||||||
// TODO this formula is wrong
|
// TODO this formula is wrong
|
||||||
|
|
Loading…
Reference in New Issue