Remove commented code in tiny_skia::layer

This commit is contained in:
Héctor Ramón Jiménez 2024-05-02 17:15:26 +02:00
parent efc55b655b
commit 568ac66486
No known key found for this signature in database
GPG key ID: 7CC46565708259A7

View file

@ -260,22 +260,6 @@ impl Layer {
Image::eq,
);
// let center = bounds.center();
// let rotated_size = RotationLayout::Change
// .apply_to_size(bounds.size(), *rotation);
//
// let scaled_size = Size::new(
// rotated_size.width * scale.width,
// rotated_size.height * scale.height,
// );
//
// let top_left = Point::new(
// center.x - scaled_size.width / 2.0,
// center.y - scaled_size.height / 2.0,
// );
//
// Rectangle::new(top_left, scaled_size).expand(1.0)
damage.extend(text);
damage.extend(primitives);
damage.extend(images);