mirror of
https://github.com/storytold/deckcraft.git
synced 2026-10-24 10:37:03 -06:00
Fix up merged PRs: cargo fmt
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
30107bdb31
commit
398d34c737
@@ -10,8 +10,8 @@
|
||||
pub mod cmd;
|
||||
pub mod connect;
|
||||
pub mod drawtable;
|
||||
pub mod fonts;
|
||||
pub mod file_access;
|
||||
pub mod fonts;
|
||||
pub mod guard;
|
||||
pub mod icons;
|
||||
pub mod io;
|
||||
|
||||
@@ -2435,12 +2435,8 @@ fn single_series_column_chart_varies_colours_by_point() {
|
||||
let mut c = Chart::sample(ChartType::Column);
|
||||
c.series.truncate(1);
|
||||
c.vary_colors = vary;
|
||||
let sh = Shape {
|
||||
id: ShapeId(800),
|
||||
xfrm: Some(Xfrm::new(50.0, 50.0, 400.0, 300.0)),
|
||||
kind: ShapeKind::Chart(Box::new(c)),
|
||||
..Default::default()
|
||||
};
|
||||
let sh =
|
||||
Shape { id: ShapeId(800), xfrm: Some(Xfrm::new(50.0, 50.0, 400.0, 300.0)), kind: ShapeKind::Chart(Box::new(c)), ..Default::default() };
|
||||
render_slide(&deck_with(vec![sh]), 0, &RenderOpts { scale: 1.0, ..Default::default() }).pixels
|
||||
};
|
||||
assert_ne!(render(true), render(false));
|
||||
|
||||
@@ -184,8 +184,7 @@ impl Textures {
|
||||
}
|
||||
let t0 = crate::now_ms();
|
||||
let render = |region: Region| {
|
||||
let opts =
|
||||
RenderOpts {
|
||||
let opts = RenderOpts {
|
||||
scale,
|
||||
edit,
|
||||
gif_times,
|
||||
|
||||
Reference in New Issue
Block a user