Skip to content

Commit

Permalink
Fix capture thumbnail uses wrong position
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeDoctorDE committed Dec 31, 2024
1 parent 7ba7940 commit 6e8e42b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/lib/selections/file.dart
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ class _UtilitiesViewState extends State<_UtilitiesView>
kThumbnailHeight.toDouble();
final height =
width * kThumbnailHeight / kThumbnailWidth;
final heightOffset = (height - realHeight) / 2;
final heightOffset = (realHeight - height) / 2;
final quality = kThumbnailWidth / width;
final thumbnail = await state.currentIndexCubit.render(
state.data,
Expand Down
1 change: 1 addition & 0 deletions metadata/en-US/changelogs/127.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@
* Add password protected notes ([#771](https://github.com/LinwoodDev/Butterfly/issues/771))
* Fix undo/redo tools not showing status correctly
* Fix grid not working correctly
* Fix capture thumbnail uses wrong position

Read more here: https://linwood.dev/butterfly/2.3.0-beta.0

0 comments on commit 6e8e42b

Please sign in to comment.