Thing 2.0 cut 6b fix: clone the random plot mark
This commit is contained in:
parent
40b7fa59bd
commit
33835357cf
1 changed files with 1 additions and 1 deletions
|
|
@ -626,7 +626,7 @@ fn random_documents_render_without_panic_balanced_and_equal() {
|
|||
initial: lit_text(["", "typed words"][(next() % 2) as usize]),
|
||||
submit: command("dismiss"),
|
||||
}),
|
||||
(8, _) => Node::Plot(PlotNode { common: common(&id), series: series_bind("s"), mark: [PlotMark::Line, PlotMark::Area, PlotMark::Bar][(next() % 3) as usize], x_min: None, x_max: None, y_min: None, y_max: None }),
|
||||
(8, _) => Node::Plot(PlotNode { common: common(&id), series: series_bind("s"), mark: [PlotMark::Line, PlotMark::Area, PlotMark::Bar][(next() % 3) as usize].clone(), x_min: None, x_max: None, y_min: None, y_max: None }),
|
||||
(2, d) if d < 3 => {
|
||||
let anchor = if next() % 2 == 0 { Anchor::Viewport } else { at(&generated[(next() % generated.len() as u64) as usize]) };
|
||||
let children = (0..(next() % 3)).map(|_| grow(depth + 1, next, counter, generated, sizes, overflows, tokens)).collect();
|
||||
|
|
|
|||
Loading…
Reference in a new issue