mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-10-28 11:47:21 -06:00
Render tests: the live object tests take the font locks (#1688)
This commit is contained in:
@@ -627,6 +627,7 @@ fn arc_envelope(d: &mut Document, content: Vec<Node>, patterns: bool) -> Node {
|
||||
/// pattern, and type whose characters are filled with it.
|
||||
#[test]
|
||||
fn live_objects_draw_pattern_layout_edits() {
|
||||
let _fonts = fonts_steady();
|
||||
use vectorcraft_doc::pattern::{Overlap, PatternDef, TileType, pattern_paint};
|
||||
use vectorcraft_doc::text::{CharStyle, TextObject};
|
||||
use vectorcraft_geom::shapes::rectangle;
|
||||
@@ -672,6 +673,7 @@ fn live_objects_draw_pattern_layout_edits() {
|
||||
/// the art of the symbol it bends and a symbol in the art of a pattern it tiles.
|
||||
#[test]
|
||||
fn live_objects_draw_symbol_and_pattern_art_edits() {
|
||||
let _fonts = fonts_steady();
|
||||
use vectorcraft_doc::pattern::{PatternDef, TileType, pattern_paint};
|
||||
use vectorcraft_geom::shapes::rectangle;
|
||||
// Symbol `S` ([`symbol_art`]) becomes a wide red bar.
|
||||
|
||||
Reference in New Issue
Block a user