From df6fb87ac8f85ed0b547a220126ad4f17a838f21 Mon Sep 17 00:00:00 2001 From: Devin Lin Date: Wed, 19 Mar 2025 15:38:35 -0400 Subject: [PATCH] folio: Add visual placeholder for favourites bar This adds a visual placeholder when dropping applications on the favourites bar, making it consistent with dropping applications on a page. --- .../folio/package/contents/ui/FavouritesBar.qml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/containments/homescreens/folio/package/contents/ui/FavouritesBar.qml b/containments/homescreens/folio/package/contents/ui/FavouritesBar.qml index 86dbc799..939646e0 100644 --- a/containments/homescreens/folio/package/contents/ui/FavouritesBar.qml +++ b/containments/homescreens/folio/package/contents/ui/FavouritesBar.qml @@ -79,7 +79,13 @@ MouseArea { Component { id: placeholderComponent - Item {} + // square that shows when hovering over a spot to drop a delegate on (ghost entry) + PlaceholderDelegate { + id: dragDropFeedback + folio: root.folio + width: folio.HomeScreenState.pageCellWidth + height: folio.HomeScreenState.pageCellHeight + } } Component {