mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
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.
This commit is contained in:
parent
3afdafd8c2
commit
df6fb87ac8
1 changed files with 7 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue