** Changed in: ubuntu-ui-toolkit (Ubuntu)
     Assignee: (unassigned) => Zsombor Egri (zsombi)

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to ubuntu-ui-toolkit in
Ubuntu.
https://bugs.launchpad.net/bugs/1561948

Title:
  ListViewDrag should be ListItemDrag in the API doc

Status in ubuntu-ui-toolkit package in Ubuntu:
  New

Bug description:
  
https://developer.ubuntu.com/api/apps/qml/sdk-15.04.1/Ubuntu.Components.ViewItems/

    ViewItems.onDragUpdated: {
          if (event.status == ListViewDrag.Started) {
              if (event.from < 5) {
                  // deny dragging on the first 5 element
                  event.accept = false;

  In the above code, the correct should be:

              ViewItems.onDragUpdated: {
                  if (event.status == ListItemDrag.Started) {
                      if (event.from < 5) {
                          // deny dragging on the first 5 element
                          event.accept = false;
                      } else if (event.from >= 5 && event.from <= 10 &&
                        

  Best regards,
  XiaoGuo

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1561948/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to