* ColorEditor.cs: Perfom action in OnMouseUp only if in client.
[Fixes bug #358444]
svn path=/trunk/mcs/; revision=94801
+2008-02-04 Ivan N. Zlatev <contact@i-nz.net>
+
+ * ColorEditor.cs: Perfom action in OnMouseUp only if in client.
+ [Fixes bug #358444]
+
2007-11-13 Atsushi Enomoto <atsushi@ximian.com>
* ToolboxItemCreator.cs, ToolboxService.cs, ToolboxItemContainer.cs:
\r
protected override void OnMouseUp (MouseEventArgs e)\r
{\r
- if (highlighting) {\r
+ if (highlighting && this.ClientRectangle.Contains (e.X, e.Y)) {\r
if (ColorChanged != null)\r
ColorChanged (colors[y / 24, x / 24], EventArgs.Empty);\r
highlighting = false;\r