Hans Baier schrieb:
> Author: hansfbaier
> Date: Tue Dec  8 08:55:39 2009
> New Revision: 29106
> 
> URL: http://svn.gna.org/viewcvs/gnustep?rev=29106&view=rev
> Log:
> * Source/NSColorWell.m (-mouseDragged:, -mouseDown:): Applied patch from Eric 
> Wasylishen to activate it on click inside the colored rectangle (same 
> behavior as in OS X)
> 
> Modified:
>     libs/gui/trunk/ChangeLog
>     libs/gui/trunk/Source/NSColorWell.m

I like this patch in general, what I dislike is the global variable that
gets used for the last mouse down position. Looking at the code I am
very sure that this wont lead to any side effects, still it is the wrong
way to code this. I would prefer that we come up with a better
implementation for this feature.


_______________________________________________
Gnustep-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnustep-dev

Reply via email to