Tidy up, remove console log and stubbed out headings in properties panel
This commit is contained in:
parent
6cd809c843
commit
200a3f10b1
|
@ -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>
|
||||
}
|
||||
|
||||
|
|
|
@ -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");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue