WebPositive: do not overwrite Go button focus rect with URL bar border
Fixes #20181 Change-Id: I2dc0a5b609054cf04e32835582c1487dda40c52f
This commit is contained in:
@@ -662,6 +662,11 @@ URLInputGroup::DrawAfterChildren(BRect updateRect)
|
|||||||
if (fInvalid)
|
if (fInvalid)
|
||||||
flags |= BControlLook::B_INVALID;
|
flags |= BControlLook::B_INVALID;
|
||||||
|
|
||||||
|
// Do not overwrite the focus rectangle of the Go button if it is focused
|
||||||
|
if (fGoButton->IsFocus())
|
||||||
|
ClipToInverseRect(fGoButton->Frame());
|
||||||
|
|
||||||
|
|
||||||
be_control_look->DrawTextControlBorder(this, bounds, updateRect, base,
|
be_control_look->DrawTextControlBorder(this, bounds, updateRect, base,
|
||||||
flags);
|
flags);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user