Commit e53123fd authored by DonLakeFlyer's avatar DonLakeFlyer

parent e53863af
......@@ -112,10 +112,10 @@ SetupPage {
} else {
_followOffsetX.rawValue = Math.sin(angleRadians) * distance
_followOffsetY.rawValue = Math.cos(angleRadians) * distance
if (_followOffsetX.rawValue < 0.0001) {
if (Math.abs(_followOffsetX.rawValue) < 0.0001) {
_followOffsetX.rawValue = 0
}
if (_followOffsetY.rawValue < 0.0001) {
if (Math.abs(_followOffsetY.rawValue) < 0.0001) {
_followOffsetY.rawValue = 0
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment