On Fri, 2006-02-24 at 12:45 +0100, Jean-Marc Lasgouttes wrote: > >>>>> "Martin" == Martin Vermeer <[EMAIL PROTECTED]> writes: > > Martin> BTW Jean-Marc, this works, but would it perhaps be better to > Martin> make MathNestInset inherit (from InsetBase) and modify > Martin> covers(x,y)? > > What is the idea BTW? That nestinsets have a margin around them? So it > depends why one uses covers() (real area covered vs. mouse accesible > area).
It seems to be only used (in text2 and nestinset) to detect whether the mouse has hit it (and then respond accordingly). It is thus certainly possible to have the "mouse sensitive area" differ from the drawn area of the inset. I only want an "inert zone" on the left edge of 2 pixels wide. Then, if you click there, you will not descend into the inset, but the cursor will end up -- on current slice depth -- on the inset's left side. That solves the ")(" problem. - Martin
signature.asc
Description: This is a digitally signed message part