Andre Poenitz wrote:

>> Compiling. Note that we should anyway assert on "no rows", be cause "no
>> rows" means "no position information at all" so the checkInsetHit call
>> would be completely bogus.
> 
> No, it means 'no _internal_ position information'.

... what about the inset size? Height in particular.

> The xy placement of the inset and its dimension are valid after the
> first draw (the dimension even already after the first metrics).

The first metrics then imply knowing the rowbreaking (otherwise how would it
know its height?)

> This is sufficient for 'inset hit'.

...

> But I just noticed we need to a bit more careful: If an inset is not
> visible anymore (because the user scrolled down) it keeps its xy chace
> with bogus values...

Ugh...

Alfredo


Reply via email to