Explicit asset property
This commit is contained in:
@ -99,6 +99,11 @@ struct FileDetailView: View {
|
||||
text: $file.customOutputPath,
|
||||
footer: "A custom path where the file is stored in the output folder")
|
||||
|
||||
BoolPropertyView(
|
||||
title: "Asset",
|
||||
value: $file.isAsset,
|
||||
footer: "Indicate that this file should be treated as an asset")
|
||||
|
||||
if let imageDimensions = file.imageDimensions {
|
||||
GenericPropertyView(title: "Image dimensions") {
|
||||
Text("\(Int(imageDimensions.width)) x \(Int(imageDimensions.height)) (\(file.aspectRatio))")
|
||||
|
Reference in New Issue
Block a user