mirunamd opened this issue 4 years ago · 1 comments
Is there any code that deals with this sort of behaviour? I changed the code a little and I want to make sure I didn't delete the part of the code that is responsible for not drawing outside the canvas.
Turns out it was just a matter of not allowing offsets (localPosition) which were bigger or less than my canvas size in GestureDetector.
localPosition
GestureDetector