Skip to content
Snippets Groups Projects
Commit c18093e9 authored by Christopher Pietsch's avatar Christopher Pietsch
Browse files

filterVisible padding now dynamic

parent 26a00fb3
Branches
No related tags found
No related merge requests found
......@@ -788,7 +788,7 @@ function Canvas() {
var p = d.sprite.position;
var x = p.x / scale1 + translate[0] / zoomScale;
var y = p.y / scale1 + translate[1] / zoomScale;
var padding = 5;
var padding = width / 3 / scale;
if (
x > -padding &&
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment