Skip to content

Commit

Permalink
Tweak minimum distance for a path
Browse files Browse the repository at this point in the history
  • Loading branch information
Drulikar committed Oct 16, 2023
1 parent 69544f0 commit 644a988
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tgui/packages/tgui/interfaces/CanvasLayer.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export class CanvasLayer extends Component {

if (this.lastX !== null && this.lastY !== null) {
// this controls how often we make new strokes
if (Math.abs(this.lastX - x) + Math.abs(this.lastY - y) < 25) {
if (Math.abs(this.lastX - x) + Math.abs(this.lastY - y) < 20) {
return;
}

Expand Down

0 comments on commit 644a988

Please sign in to comment.