This website works better with JavaScript.
Home
Explore
Help
Sign In
chemicalcrux
/
macrovision
Watch
1
Star
0
Fork
0
Code
Issues
5
Pull Requests
0
Releases
10
Wiki
Activity
Browse Source
Fix ruler drawing on high-DPI displays
They were being drawn too large when taking a screenshot
master
Fen Dweller
4 years ago
parent
cb58ecc5a4
commit
3c2ef5ac42
1 changed files
with
3 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-0
macrovision.js
+ 3
- 0
macrovision.js
View File
@@ -5316,7 +5316,10 @@ function renderToCanvas() {
ctx.filter = oldFilter
});
ctx.save();
ctx.resetTransform();
ctx.drawImage(document.querySelector("#rulers"), 0, 0);
ctx.restore();
}
function exportCanvas(callback) {
Write
Preview
Loading…
Cancel
Save