Compare commits
No commits in common. "bd536f2ea5a3941d9961f0bd36d8a40f6ce4e8ee" and "5729caeea0a3a43cc3495e24a85753d3547791f8" have entirely different histories.
bd536f2ea5
...
5729caeea0
2 changed files with 1 additions and 19 deletions
15
.vscode/launch.json
vendored
15
.vscode/launch.json
vendored
|
@ -1,15 +0,0 @@
|
||||||
{
|
|
||||||
// IntelliSense를 사용하여 가능한 특성에 대해 알아보세요.
|
|
||||||
// 기존 특성에 대한 설명을 보려면 가리킵니다.
|
|
||||||
// 자세한 내용을 보려면 https://go.microsoft.com/fwlink/?linkid=830387을(를) 방문하세요.
|
|
||||||
"version": "0.2.0",
|
|
||||||
"configurations": [
|
|
||||||
{
|
|
||||||
"type": "chrome",
|
|
||||||
"request": "launch",
|
|
||||||
"name": "localhost에 대해 Chrome 시작",
|
|
||||||
"url": "http://localhost:5173",
|
|
||||||
"webRoot": "${workspaceFolder}"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
|
@ -69,7 +69,7 @@ function ComicViewer({
|
||||||
return () => {
|
return () => {
|
||||||
img.removeEventListener("load", listener);
|
img.removeEventListener("load", listener);
|
||||||
// abort loading
|
// abort loading
|
||||||
img.src = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII=";
|
img.src = 'data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEAAAAALAAAAAABAAEAAAI=;';
|
||||||
// TODO: use web worker to abort loading image in the future
|
// TODO: use web worker to abort loading image in the future
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -85,9 +85,6 @@ function ComicViewer({
|
||||||
)}
|
)}
|
||||||
alt="main content"/>
|
alt="main content"/>
|
||||||
<div className="absolute right-0 w-1/2 h-full z-10 select-none" onMouseDown={() => pageUp(1)} />
|
<div className="absolute right-0 w-1/2 h-full z-10 select-none" onMouseDown={() => pageUp(1)} />
|
||||||
{curPage + 1 < totalPage && (
|
|
||||||
<img src={`/api/doc/${doc.id}/comic/${curPage + 1}`} alt="next page" className="sr-only" />
|
|
||||||
)}
|
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue