Skip to content

Commit

Permalink
fix(ui): Reduce path render resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
Hypfer committed Feb 27, 2021
1 parent 2d02570 commit aa64016
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/zone/js-modules/path-drawer.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export function PathDrawer(width, height) {
// Used to draw smoother path when zoomed into the map
let scaleFactor = 1;
let actualScaleFactor = 1;
const maxScaleFactor = 10000/Math.max(width, height);
const maxScaleFactor = 5000/Math.max(width, height);

/**
* Public function for updating the path
Expand Down

0 comments on commit aa64016

Please sign in to comment.