discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: About the NSMenuView


From: Pierre-Yves Rivaille
Subject: Re: About the NSMenuView
Date: Mon, 28 Oct 2002 01:35:29 +0100

I've implemented a new mouse tracking behaviour in NSMenuView that makes the menu feel more responsive. It is in CVS. It should behave like windowmaker's menu (which is also the way gnome/mosx/qt behave).

   Pierre-Yves
On 2002-10-15 08:25:33 +0200 Banlu Kemiyatorn <id@thaiopensource.com> wrote:
Hi, 3 questions
1) I've been wondering why the vertical dragging on menu cause has a long delay to close one submenu down and bring another up. I thought it was slow because
of the backend but alexm told me that it is a delay in trackWithEvent: from
WMMenuView.m so I look there and have a question

                  delayCount++;
                  if (delayCount >= DELAY_MULTIPLIER

                    || (xDiff < 0)   <------ here

                    || (yDelta < 0.0 && yDiff > -yDelta)

Would it be better to compare xDiff with some number larger than 0?
I think vertical dragging shouldn't be delayed. Just like WMaker's behavior.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]