LyonDataViz / occupapp

Occupapp
https://occupapp.now.sh/
GNU General Public License v3.0
3 stars 2 forks source link

Prevent points from being dragged outside of the image #36

Closed severo closed 4 years ago

severo commented 4 years ago

Can be done simply by limiting the value of x and y to [0,100] in points state mutation function.

severo commented 4 years ago

fixed by https://github.com/severo/occupapp/commit/d6c245cb054dd096bc26c5705a978a3b616c9fa4