pskink / matrix_gesture_detector

A gesture detector mapping translation/rotation/scale gestures to a Matrix4 object.
Other
134 stars 101 forks source link

Set max and min scale #3

Open lyhak570 opened 4 years ago

lyhak570 commented 4 years ago

How to set max and min scale of the widget? I want to set max_scale = 3 and min_scale = 1 the same as when the widget is initialized.

pskink commented 4 years ago

see Transform Demo 2 - it prevents moving the widget outside its parent - do similar thing for scaling

amirVirtuenetz commented 1 year ago

How to set max and min scale of the widget? I want to set max_scale = 3 and min_scale = 1 the same as when the widget is initialized.

the scame issue i am facing