mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 12:19:54 +00:00
LibWeb: Fix typos - act II
This commit is contained in:
parent
86be8abfbf
commit
5cc371d54c
Notes:
github-actions[bot]
2025-04-09 14:06:24 +00:00
Author: https://github.com/szepeviktor
Commit: 5cc371d54c
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4264
Reviewed-by: https://github.com/AtkinsSJ ✅
30 changed files with 69 additions and 69 deletions
|
@ -213,7 +213,7 @@ void paint_border(DisplayListRecorder& painter, BorderEdge edge, DevicePixelRect
|
|||
VERIFY_NOT_REACHED();
|
||||
}
|
||||
}
|
||||
// FIXME: this middle point rule seems not exacly the same as main browsers
|
||||
// FIXME: this middle point rule seems not exactly the same as main browsers
|
||||
// compute the midpoint based on point whose tangent slope of 1
|
||||
// https://math.stackexchange.com/questions/3325134/find-the-points-on-the-ellipse-where-the-slope-of-the-tangent-line-is-1
|
||||
return Gfx::FloatPoint(
|
||||
|
|
|
@ -39,7 +39,7 @@ void RadioButtonPaintable::paint(PaintContext& context, PaintPhase phase) const
|
|||
return;
|
||||
|
||||
auto draw_circle = [&](auto const& rect, Color color) {
|
||||
// Note: Doing this is a bit more forgiving than draw_circle() which will round to the nearset even radius.
|
||||
// Note: Doing this is a bit more forgiving than draw_circle() which will round to the nearest even radius.
|
||||
// This will fudge it (which works better here).
|
||||
context.display_list_recorder().fill_rect_with_rounded_corners(rect, color, rect.width() / 2);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue