Skip to content

Commit

Permalink
Improve image preview sizing
Browse files Browse the repository at this point in the history
Fixes #893
  • Loading branch information
p0deje committed Oct 2, 2024
1 parent e98401c commit 748f662
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Maccy/Views/PreviewItemView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ struct PreviewItemView: View {
Image(nsImage: image)
.resizable()
.aspectRatio(contentMode: .fit)
.frame(maxHeight: HistoryItemDecorator.previewImageSize.height / 0.8)
.clipShape(.rect(cornerRadius: 5))
} else {
Text(item.text)
Expand Down

0 comments on commit 748f662

Please sign in to comment.