Skip to main content

Search and Top Navigation

#8674 closed feature (invalid)

Opened October 15, 2012 10:48AM UTC

Closed October 30, 2012 09:14AM UTC

Adding a case option to intersect

Reported by: larsstorm Owned by: larsstorm
Priority: minor Milestone: 1.10.0
Component: ui.droppable Version: 1.9.0
Keywords: Cc:
Blocked by: Blocking:
Description

When working with ui.droppable on draggable objects using the snap function, there is a difficulty with the intersect touch case - to solve this I suggest a new case that only resolves true when the intersect is 'just' inside the droppable object.

Something like this: (naming of the case could use some work :) )

case "insidetouch":
	return i - 1 < e + b.helperProportions.width && f - b.helperProportions.width < j - 1 && k + 1 < g + b.helperProportions.height && h + 1 - b.helperProportions.height < l;
Attachments (0)
Change History (2)

Changed October 15, 2012 02:32PM UTC by scottgonzalez comment:1

owner: → larsstorm
status: newpending
version: → 1.9.0

Please explain in words what the problem is and what your solution is.

Changed October 30, 2012 09:14AM UTC by trac-o-bot comment:2

resolution: → invalid
status: pendingclosed

Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!