don't accept clicks when disabled
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28484 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -675,6 +675,8 @@ BColorControl::MouseUp(BPoint point)
|
|||||||
void
|
void
|
||||||
BColorControl::MouseDown(BPoint point)
|
BColorControl::MouseDown(BPoint point)
|
||||||
{
|
{
|
||||||
|
if (!IsEnabled())
|
||||||
|
return;
|
||||||
if (!fPaletteFrame.Contains(point))
|
if (!fPaletteFrame.Contains(point))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user