Skip to content

Commit f0da5f0

Browse files
committed
Fix typo in test
1 parent 65950c3 commit f0da5f0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

editor/src/messages/tool/tool_messages/artboard_tool.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -739,9 +739,9 @@ mod test_artboard {
739739
editor.new_document().await;
740740
editor.set_viewport_size(DVec2::splat(-1000.), DVec2::splat(1000.)).await; // Necessary for doing snapping since snaps outside of the viewport are discarded
741741
editor.drag_tool(ToolType::Artboard, 10., 10., 20., 22., ModifierKeys::empty()).await; // Artboard to drag
742-
editor.drag_tool(ToolType::Artboard, 70., 70., 80., 80., ModifierKeys::empty()).await; // Artboard to snap to
742+
editor.drag_tool(ToolType::Artboard, 70., 0., 80., 100., ModifierKeys::empty()).await; // Artboard to snap to
743743
editor.drag_tool(ToolType::Artboard, 15., 15., 15. + 49., 15., ModifierKeys::empty()).await; // Drag the artboard so it should snap to the edge
744744

745-
has_artboards(&mut editor, vec![ArtboardLayoutDocument::new((60, 10), (10, 12)), ArtboardLayoutDocument::new((70, 70), (80, 80))]).await;
745+
has_artboards(&mut editor, vec![ArtboardLayoutDocument::new((60, 10), (10, 12)), ArtboardLayoutDocument::new((70, 0), (10, 100))]).await;
746746
}
747747
}

0 commit comments

Comments
 (0)