Skip to content

Commit

Permalink
examples: fix visual tests by using Current draw origin in `anchors…
Browse files Browse the repository at this point in the history
…/anchors.v`
  • Loading branch information
larpon committed Dec 19, 2023
1 parent bf3c6d7 commit d9fd985
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/anchors/anchors.v
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ pub fn (mut a App) frame(dt f64) {
origin: shy.Anchor.bottom_center
// align: .left | .bottom
offset: vec.vec2[f32](0, -50 - 20)
text: 'Current draw anchor:\n${a.anchor}'
text: 'Current draw origin:\n${a.anchor}'
)

tx, ty := a.anchor.pos_wh(a.window.width, a.window.height)
Expand Down

0 comments on commit d9fd985

Please sign in to comment.