[plasmoid] Remove unneeded panel icon size handling

This commit is contained in:
Nicolas Fella 2023-02-18 01:13:38 +01:00
parent 4523ba5882
commit c486bb9d2c

View file

@ -15,9 +15,6 @@ DropArea {
|| plasmoid.location == PlasmaCore.Types.BottomEdge || plasmoid.location == PlasmaCore.Types.BottomEdge
|| plasmoid.location == PlasmaCore.Types.LeftEdge) || plasmoid.location == PlasmaCore.Types.LeftEdge)
Layout.maximumWidth: inPanel ? units.iconSizeHints.panel : -1
Layout.maximumHeight: inPanel ? units.iconSizeHints.panel : -1
onEntered: { onEntered: {
if (drag.hasUrls) { if (drag.hasUrls) {
plasmoid.expanded = true; plasmoid.expanded = true;