Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Doublonmousse committed Feb 17, 2024
1 parent 0eb7a6e commit 4f3f8f5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/rnote-engine/src/strokes/resize.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ pub fn calculate_resize_ratio(
);

// check if we go out of the page on the right
// we don't want to go out of the page
// we don't want to go out of the page for fixed layouts
match resize.isfixed_layout {
false => ratio_viewport,
true => ratio_viewport.min((resize.width - pos_left_top_canvas.index(0)) / (current_width)),
Expand Down
2 changes: 1 addition & 1 deletion crates/rnote-engine/src/strokes/vectorimage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ impl VectorImage {
svg_tree.size().height() as f64
];
let svg_data = svg_tree.to_string(&xml_options);

let mut transform = Transform::default();
let rectangle = match size {
ImageSizeOption::RespectOriginalSize => {
Expand Down

0 comments on commit 4f3f8f5

Please sign in to comment.