pec1985 / TiDraggable

Native iOS and Android modules for Appcelerator's Titanium Mobile
74 stars 75 forks source link

minLeft is relative to original position and not to screen #19

Open FokkeZB opened 10 years ago

FokkeZB commented 10 years ago

I try to set the bounds of the draggable to the screen by setting minTop and minLeft to 0 and maxTop and maxLeft to the platform width/height minus the draggable width/height.

All works fine except for minLeft. If I set this to 0 the draggable can not be moved left of the original position.