Fixed syntax for linter

master
Balearica 1 year ago
parent 34395b042a
commit 99678bb22f
  1. 2
      src/worker-script/index.js

@ -308,7 +308,7 @@ const recognize = async ({
api.FindLines();
// The function GetAngle will be replaced with GetGradient in 4.0.4,
// but for now we want to maintain compatibility.
// but for now we want to maintain compatibility.
// We can switch to only using GetGradient in v5.
const rotateRadiansCalc = api.GetGradient ? api.GetGradient() : api.GetAngle();

Loading…
Cancel
Save