Closed mayacakmak closed 4 years ago
I just added a check to ee.translateBy
(and translateX/YBy
) that limits the x and y location to within the bounds of the workspace: Code
Right now, the EE can go all the way to the bounds of the workspace:
We might want to add a boundary so that it can't get so close to the edge.
While most controls do not allow the object to get outside the workspace, the panel control can send the object off limits--we need to implement check so the object doesn't move once it hits the walls of the workspace.