Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
bertiqwerty committed Nov 11, 2024
1 parent b3b8f9c commit 98fbfe9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rvimage/src/rvlib/control/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -581,7 +581,7 @@ impl Control {
ri.im,
world.data.tools_data_map.clone(),
MetaData::from_filepath(fp, fidx, self.cfg.current_prj_path()),
world.ui_image_rect()
world.ui_image_rect(),
);
let zoom_box = if ims_raw.shape() == world.data.shape() {
*world.zoom_box()
Expand Down
2 changes: 1 addition & 1 deletion rvimage/src/rvlib/world.rs
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ impl DataRaw {
pub fn shape_initial(&self) -> &ShapeI {
&self.shape_initial
}

pub fn set_image_rect(&mut self, ui_image_rect: Option<ShapeF>) {
self.ui_image_rect = ui_image_rect;
}
Expand Down

0 comments on commit 98fbfe9

Please sign in to comment.