Skip to content

Commit

Permalink
Fixing bbox calculation issue with stickers and images.
Browse files Browse the repository at this point in the history
  • Loading branch information
phase1geo committed Jan 7, 2024
1 parent e6241d9 commit 8d90e1a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/canvas_items/CanvasItemImage.vala
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ public class CanvasItemImage : CanvasItem {
} else {
_buf = canvas.win.sticker_set.make_pixbuf( _name, width );
}
bbox.width = _buf.width;
bbox.height = _buf.height;
} catch( Error e ) {
_buf = null;
}
Expand Down

0 comments on commit 8d90e1a

Please sign in to comment.