Skip to content

Commit 22734bb

Browse files
committed
fix bug where width was wrong in fullscreen
1 parent a94d3d2 commit 22734bb

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

imageviewer5.xcodeproj/project.pbxproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@
319319
"@executable_path/../Frameworks",
320320
);
321321
MACOSX_DEPLOYMENT_TARGET = 11.0;
322-
MARKETING_VERSION = 1.6;
322+
MARKETING_VERSION = 1.6.1;
323323
PRODUCT_BUNDLE_IDENTIFIER = djs.imageviewer5;
324324
PRODUCT_NAME = "$(TARGET_NAME)";
325325
SWIFT_VERSION = 5.0;
@@ -342,7 +342,7 @@
342342
"@executable_path/../Frameworks",
343343
);
344344
MACOSX_DEPLOYMENT_TARGET = 11.0;
345-
MARKETING_VERSION = 1.6;
345+
MARKETING_VERSION = 1.6.1;
346346
PRODUCT_BUNDLE_IDENTIFIER = djs.imageviewer5;
347347
PRODUCT_NAME = "$(TARGET_NAME)";
348348
SWIFT_VERSION = 5.0;

imageviewer5/ContentView.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ struct ContentView: View, DropDelegate {
7979
}
8080

8181

82-
.frame(minWidth: 400, idealWidth: imgW, maxWidth: NSScreen.main?.frame.height, minHeight: 300, idealHeight: imgH, maxHeight: NSScreen.main?.frame.height)
82+
.frame(minWidth: 400, idealWidth: imgW, maxWidth: NSScreen.main?.frame.width, minHeight: 300, idealHeight: imgH, maxHeight: NSScreen.main?.frame.height)
8383
//.background(Rectangle().fill(bgcolor))
8484
.onDrop(of: [(kUTTypeFileURL as String)], delegate: self)
8585
}

imageviewer5/Info.plist

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
<key>CFBundleShortVersionString</key>
3737
<string>$(MARKETING_VERSION)</string>
3838
<key>CFBundleVersion</key>
39-
<string>468</string>
39+
<string>470</string>
4040
<key>LSApplicationCategoryType</key>
4141
<string>public.app-category.photography</string>
4242
<key>LSMinimumSystemVersion</key>

0 commit comments

Comments
 (0)