Remember artworks size in the movie view

This commit is contained in:
Damiano Galassi committed 2024-11-29 13:32:36 +01:00
1 parent b022bb460d
commit 8bbb34298a
4 files changed
+36 -21

No files matched your search

+1 -1
View File
@@ -216,7 +216,7 @@ final class ArtworkSelectorController: NSViewController, NSCollectionViewDataSou
// MARK: - User Interface
func setZoomValue(_ newZoomValue: Float) {
private func setZoomValue(_ newZoomValue: Float) {
if let layout = imageBrowser.collectionViewLayout as? NSCollectionViewFlowLayout {
if newZoomValue == 50 {
layout.itemSize = standardSize