You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
graph=Graph.build(font: :roboto,font_size: @text_size,fill: :white)graph=graph|>add_specs_to_graph([text_spec(info,translate: {20,40}),text_spec(@note,translate: {20,120}),# This only renders if there's no fill set on the graphline_spec({{0,400},{450,400}},stroke: {4,:red}),rect_spec({width,height},fill: :transparent)])
works:
graph = Graph.build(font: :roboto, font_size: @text_size)
graph =
graph
|> add_specs_to_graph([
text_spec(info, translate: {20, 40}),
text_spec(@note, translate: {20, 120}),
# This only renders if there's no fill set on the graph
line_spec({{0, 400}, {450, 400}}, stroke: {4, :red}),
rect_spec({width, height}, fill: :transparent)
])
Note: even passing a fill directly to the line (or line_spec) isn't enough to allow the line to render.
Checklist
Versions and Environment
Elixir:
# elixir -v Erlang/OTP 25 [erts-13.1.5] [source] [64-bit] [smp:12:12] [ds:12:12:10] [async-threads:1] [jit:ns] Elixir 1.14.3 (compiled with Erlang/OTP 25)
Erlang:
# erl -v Erlang/OTP 25 [erts-13.1.5] [source] [64-bit] [smp:12:12] [ds:12:12:10] [async-threads:1] [jit:ns] Eshell V13.1.5 (abort with ^G)
Scenic:
OS:
Steps to reproduce
Broken:
works:
Note: even passing a fill directly to the
line
(or line_spec) isn't enough to allow the line to render.I've created a reproduction repo here: https://github.com/axelson/repro_scenic_line_fill
Expected Behavior
The line to render regardless of the fill
Actual Behavior
The line does not render if the fill is set on the graph
The text was updated successfully, but these errors were encountered: