mirror of
https://github.com/upscayl/upscayl.git
synced 2024-11-27 17:00:52 +01:00
Fix stuff
This commit is contained in:
parent
fbe3143ff6
commit
2b0f940356
@ -163,6 +163,7 @@ const MainContent = ({
|
|||||||
};
|
};
|
||||||
|
|
||||||
const handlePaste = (e: React.ClipboardEvent<HTMLDivElement>) => {
|
const handlePaste = (e: React.ClipboardEvent<HTMLDivElement>) => {
|
||||||
|
console.log("📋 Pasted: ", e);
|
||||||
resetImagePaths();
|
resetImagePaths();
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
const items = e.clipboardData.items;
|
const items = e.clipboardData.items;
|
||||||
|
@ -284,7 +284,10 @@ const Home = () => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="flex h-screen w-screen flex-row overflow-hidden bg-base-300">
|
<div
|
||||||
|
className="flex h-screen w-screen flex-row overflow-hidden bg-base-300"
|
||||||
|
onPaste={(e) => console.log(e)}
|
||||||
|
>
|
||||||
<Sidebar
|
<Sidebar
|
||||||
imagePath={imagePath}
|
imagePath={imagePath}
|
||||||
dimensions={dimensions}
|
dimensions={dimensions}
|
||||||
|
Loading…
Reference in New Issue
Block a user