Skip to content
This repository has been archived by the owner on Jun 19, 2018. It is now read-only.

Commit

Permalink
fix(DayView): Allow dragging day view events to the side for better UX
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Lewis committed Nov 30, 2015
1 parent 3c6c8f2 commit e147f6b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/templates/calendarDayView.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
ng-class="'dh-event-' + event.type + ' ' + event.cssClass"
ng-style="{top: event.top + 'px', left: event.left + 60 + 'px', height: event.height + 'px'}"
mwl-draggable="event.draggable === true"
axis="'y'"
snap-grid="{y: 30}"
axis="'xy'"
snap-grid="{y: 30, x: 50}"
on-drag="vm.eventDragged(event, y)"
on-drag-end="vm.eventDragComplete(event, y)"
mwl-resizable="event.resizable === true && event.endsAt"
Expand Down

0 comments on commit e147f6b

Please sign in to comment.