Rubber-band selection doesn't include comment markers #33
Labels
No labels
prio_critical
prio_low
type_bug
type_contact
type_issue
type_lead
type_question
type_story
type_task
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lhumina_code/hero_whiteboard#33
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Dragging a rubber-band selection over an area that contains comment markers selects every other object but skips the comments, so a group drag leaves comments behind.
Root cause:
onMouseUpintools.jsiterates onlylayer.find('.object'), but comment markers havename: 'comment-marker'(they are not whiteboard objects).Fix: after collecting
.objectintersections, also walklayer.find('.comment-marker')nodes and add the ones that intersect the rubber-band box to the transformer's selection.Pull request opened: #35