mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
homescreens/folio: Fix widget full representation being shown when starting drag and drop
It's unnecessary to set the anchors on the full representation; it causes it to also show when the minimized representation is presented.
This commit is contained in:
parent
a4d0894933
commit
8ae09cb17f
1 changed files with 6 additions and 4 deletions
|
|
@ -43,10 +43,12 @@ Folio.WidgetContainer {
|
|||
|
||||
widget.visualApplet.parent = widgetHolder;
|
||||
widget.visualApplet.anchors.fill = widgetHolder;
|
||||
if (widget.visualApplet.fullRepresentationItem) {
|
||||
widget.visualApplet.fullRepresentationItem.parent = widgetHolder;
|
||||
widget.visualApplet.fullRepresentationItem.anchors.fill = widgetHolder;
|
||||
}
|
||||
|
||||
// seems to be unnecessary, causes issues where the fullRepresentationItem shows up over :
|
||||
// if (widget.visualApplet.fullRepresentationItem) {
|
||||
// widget.visualApplet.fullRepresentationItem.parent = widgetHolder;
|
||||
// widget.visualApplet.fullRepresentationItem.anchors.fill = widgetHolder;
|
||||
// }
|
||||
}
|
||||
|
||||
onWidgetChanged: updateVisualApplet()
|
||||
|
|
|
|||
Loading…
Reference in a new issue