Update td_background.js

This commit is contained in:
shadowcz007
2024-09-18 09:28:25 +08:00
parent ce2162c764
commit b2479ebff2
+2 -1
View File
@@ -59,7 +59,8 @@ LGraphCanvas.prototype.drawBackCanvas = function () {
//reset in case of error
if (!this.viewport) {
ctx.restore()
ctx.setTransform(1, 0, 0, 1, 0, 0)
// ctx.setTransform(1, 0, 0, 1, 0, 0)
ctx.setTransform(window.devicePixelRatio, 0, 0, window.devicePixelRatio, 0, 0)
}
this.visible_links.length = 0