on xenial help sign in
'Apps' should be reposition-able and unfavorite-able when in edit mode (as with other scopes).
commitf80c113a4893cc22f3b2a7f2edff35bb01044ea1 authorAlbert Astals <albert.astals@canonical.com> dateThu 16 Oct 2014, 11:39 (12 years ago) parent292b95b
1 file changed+3−3
qml/Dash/ScopesListCategory.qml+3−3
qml/Dash/ScopesListCategory.qml+3−3
@@ -76,13 +76,13 @@ Item {
7676 icon: model.art || ""
7777 text: model.title || ""
7878 subtext: model.subtitle || ""
79− showStar: model.scopeId != "clickscope" && (root.isFavoritesFeed || root.isOtherFeed)
79+ showStar: root.isFavoritesFeed || root.isOtherFeed
8080 isFavorite: root.isFavoritesFeed
8181
8282 onClicked: root.requestActivate(result);
8383 onRequestFavorite: root.requestFavorite(model.scopeId, favorite);
8484 onPressed: {
85− if (editMode && model.scopeId != "clickscope") {
85+ if (editMode) {
8686 drag.target = dragItem;
8787 dragItem.icon = icon;
8888 dragItem.text = text;
@@ -119,7 +119,7 @@ Item {
119119 visible: dragItem.visible
120120 property int index: {
121121 var i = Math.round((dragItem.y - list.y) / listItemHeight);
122− if (i <= 0) i = 1;
122+ if (i < 0) i = 0;
123123 if (i >= model.count) i = model.count;
124124 return i;
125125 }