mirror of
https://github.com/vlang/v.git
synced 2025-09-13 22:42:26 +03:00
ci: fix failing draw_fns_api_test.v on macos (after rename)
This commit is contained in:
parent
291a1ffd8d
commit
2d184559b6
1 changed files with 1 additions and 1 deletions
|
@ -445,7 +445,7 @@ pub fn (ctx &Context) draw_circle_with_segments(x f32, y f32, radius f32, segmen
|
||||||
pub fn (ctx &Context) draw_circle_line(x f32, y f32, r int, segments int, c gx.Color) {
|
pub fn (ctx &Context) draw_circle_line(x f32, y f32, r int, segments int, c gx.Color) {
|
||||||
$if macos {
|
$if macos {
|
||||||
if ctx.native_rendering {
|
if ctx.native_rendering {
|
||||||
C.darwin_draw_circle(x - r + 1, ctx.height - (y + r + 3), radius, c)
|
C.darwin_draw_circle(x - r + 1, ctx.height - (y + r + 3), r, c)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue