WebPositive: do not overwrite Go button focus rect with URL bar border

Fixes #20181

Change-Id: I2dc0a5b609054cf04e32835582c1487dda40c52f
This commit is contained in:
PulkoMandy
2026-07-18 15:46:42 +02:00
parent ebedce12c3
commit 59ea9704f6
+5
View File
@@ -662,6 +662,11 @@ URLInputGroup::DrawAfterChildren(BRect updateRect)
if (fInvalid)
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,
flags);
}