Skip to content

Commit

Permalink
fix: no test points
Browse files Browse the repository at this point in the history
  • Loading branch information
Myriad-Dreamin committed Sep 28, 2024
1 parent 13f9c8d commit 566a6f7
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions crates/conversion/vec2canvas/src/ops.rs
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,9 @@ impl CanvasOp for CanvasGroupElem {
) -> Option<impl core::future::Future<Output = ()> + Sized + 'static> {
let mut v = Vec::default();

if matches!(self.kind, GroupKind::Text) {
web_sys::console::log_1(&format!("prepare text group {:?}", self.inner).into());
}
// if matches!(self.kind, GroupKind::Text) {
// web_sys::console::log_1(&format!("prepare text group {:?}",
// self.inner).into()); }

for (_, sub_elem) in &self.inner {
if let Some(f) = sub_elem.prepare(rts) {
Expand Down Expand Up @@ -500,13 +500,13 @@ impl CanvasOp for CanvasGlyphElem {
kx: 0.,
ky: 0.,
};
web_sys::console::log_1(
&format!(
"realize glyph {:?} at {:?} => {:?}",
self.glyph_data, rts, ts
)
.into(),
);
// web_sys::console::log_1(
// &format!(
// "realize glyph {:?} at {:?} => {:?}",
// self.glyph_data, rts, ts
// )
// .into(),
// );

let _guard = CanvasStateGuard::new(canvas);
if !set_transform(canvas, ts) {
Expand Down

0 comments on commit 566a6f7

Please sign in to comment.