Skip to content

Commit

Permalink
also update on px_area
Browse files Browse the repository at this point in the history
  • Loading branch information
jkrumbiegel committed Jun 17, 2022
1 parent 498a2c3 commit d361c85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/basic_recipes/text.jl
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ function plot!(plot::Text)

sc = parent_scene(plot)

onany(linesegs, positions, sc.camera.projectionview, transform_func_obs(sc)) do segs, pos, _, transf
onany(linesegs, positions, sc.camera.projectionview, sc.px_area, transform_func_obs(sc)) do segs, pos, _, _, transf
pos_transf = scene_to_screen(apply_transform(transf, pos), sc)
linesegs_shifted[] = map(segs, lineindices[]) do seg, index
seg + attr_broadcast_getindex(pos_transf, index)
Expand Down

0 comments on commit d361c85

Please sign in to comment.