Skip to content

Commit

Permalink
Update td_background.js
Browse files Browse the repository at this point in the history
  • Loading branch information
shadowcz007 committed Sep 18, 2024
1 parent ce2162c commit b2479eb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion web/javascript/td_background.js
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit b2479eb

Please sign in to comment.