mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-23 04:41:11 +00:00
Bug 1847936 - Round out radio focusring r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D227719
This commit is contained in:
parent
65da1f2489
commit
2a2fd3c3f0
@ -722,7 +722,8 @@ void Theme::PaintRadioControl(PaintBackendData& aPaintData,
|
||||
}
|
||||
|
||||
if (aState.HasState(ElementState::FOCUSRING)) {
|
||||
PaintRoundedFocusRect(aPaintData, aRect, aColors, aDpiRatio, 5.0f, 1.0f);
|
||||
auto radius = LayoutDeviceCoord(aRect.Size().width) / aDpiRatio;
|
||||
PaintRoundedFocusRect(aPaintData, aRect, aColors, aDpiRatio, radius, 1.0f);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user