adhere to new scale primitive api
This commit is contained in:
parent
2bde412fa3
commit
2c1f58e773
@ -143,7 +143,7 @@ const _gl_marker_map = KW(
|
|||||||
:rect => '■',
|
:rect => '■',
|
||||||
:star5 => '★',
|
:star5 => '★',
|
||||||
:diamond => '◆',
|
:diamond => '◆',
|
||||||
#:hexagon => '⬢',
|
:hexagon => '⬢',
|
||||||
:cross => '✚',
|
:cross => '✚',
|
||||||
:xcross => '❌',
|
:xcross => '❌',
|
||||||
:utriangle => '▲',
|
:utriangle => '▲',
|
||||||
@ -584,6 +584,7 @@ function text(position, text, kw_args)
|
|||||||
end
|
end
|
||||||
kw_args[:position] = position
|
kw_args[:position] = position
|
||||||
kw_args[:offset] = offset
|
kw_args[:offset] = offset
|
||||||
|
kw_args[:scale_primitive] = false
|
||||||
visualize(text.str, Style(:default), kw_args)
|
visualize(text.str, Style(:default), kw_args)
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -623,7 +624,8 @@ function gl_draw_axes_2d(sp::Plots.Subplot{Plots.GLVisualizeBackend}, model, are
|
|||||||
:offset => offsets,
|
:offset => offsets,
|
||||||
:color => fcolor,
|
:color => fcolor,
|
||||||
:relative_scale => Vec2f0(3/sz),
|
:relative_scale => Vec2f0(3/sz),
|
||||||
:model => model
|
:model => model,
|
||||||
|
:scale_primitive => false
|
||||||
)
|
)
|
||||||
push!(axis_vis, visualize(t, Style(:default), kw_args))
|
push!(axis_vis, visualize(t, Style(:default), kw_args))
|
||||||
area_w = GeometryTypes.widths(area)
|
area_w = GeometryTypes.widths(area)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user