Tidy up, remove console log and stubbed out headings in properties panel

This commit is contained in:
Tracy Rust 2024-01-27 16:31:22 -05:00
parent 6cd809c843
commit 200a3f10b1
2 changed files with 1 additions and 6 deletions

View File

@ -63,11 +63,8 @@ function ObjectPropertiesSidebar(props: ObjectPropertiesSidebarProps) {
else return <div className={"object-properties-sidebar"}>
<h1>Properties</h1>
<p>File Size: {sizeString}</p>
<p>Type (mime): {mimeString}</p>
<p>Type: {mimeString}</p>
{mainMimeType == "image" ? <p>Resolution: {props.imageResolution}</p> : ""}
<h2>History</h2>
<h2>Merged</h2>
</div>
}

View File

@ -74,8 +74,6 @@ function ImageViewer(props: ViewerImplProps) {
const width = imageRef.current.naturalWidth
const height = imageRef.current.naturalHeight;
console.log("width: " + width + ", height: " + height);
props.resolutionPropogator("" + width + "x" + height + "px");
}