Update renderScene.ts

This commit is contained in:
zsviczian 2022-02-09 20:47:19 +01:00 committed by GitHub
parent 9653d676fe
commit 16d2345273
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -778,7 +778,7 @@ const renderLinkIcon = (
window.devicePixelRatio * appState.zoom.value, window.devicePixelRatio * appState.zoom.value,
window.devicePixelRatio * appState.zoom.value, window.devicePixelRatio * appState.zoom.value,
); );
linkCanvasCacheContext.fillStyle = "#fff"; linkCanvasCacheContext.fillStyle = "transparent";
linkCanvasCacheContext.fillRect(0, 0, width, height); linkCanvasCacheContext.fillRect(0, 0, width, height);
linkCanvasCacheContext.drawImage(EXTERNAL_LINK_IMG, 0, 0, width, height); linkCanvasCacheContext.drawImage(EXTERNAL_LINK_IMG, 0, 0, width, height);
linkCanvasCacheContext.restore(); linkCanvasCacheContext.restore();