@yogiswara/honcho-editor-ui 1.4.3 → 1.4.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -5,8 +5,8 @@ interface Props {
|
|
|
5
5
|
onZoomMenuClose: () => void;
|
|
6
6
|
zoomLevelText: string;
|
|
7
7
|
onZoomAction: (zoomLevel: string) => void;
|
|
8
|
-
onShowOriginal
|
|
9
|
-
onShowEdited
|
|
8
|
+
onShowOriginal?: () => void;
|
|
9
|
+
onShowEdited?: () => void;
|
|
10
10
|
}
|
|
11
11
|
export default function HFooter(props: Props): import("react/jsx-runtime").JSX.Element;
|
|
12
12
|
export {};
|
|
@@ -298,6 +298,7 @@ export function useHonchoEditor(controller, initImageId, firebaseUid) {
|
|
|
298
298
|
const file = new File([blob], filename, { type: blob.type });
|
|
299
299
|
await editorRef.current.loadImageFromFile(file);
|
|
300
300
|
setIsImageLoaded(true);
|
|
301
|
+
updateCanvasEditor();
|
|
301
302
|
}
|
|
302
303
|
catch (error) {
|
|
303
304
|
console.error(error);
|