Skip to content

Commit 19639a3

Browse files
committed
fix: widget not hiding once again (main)
1 parent fbd55a3 commit 19639a3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

package/contents/ui/main.qml

+3-1
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ PlasmoidItem {
202202
onFloatignessChanged: {
203203
updateMasks()
204204
// fixes the mask getting stuck a couple of pixels off for some reason
205-
if (main.floatigness === 1 || main.floatigness === 0) {
205+
if ((main.floatigness === 1 || main.floatigness === 0) && !editMode) {
206206
Utils.delay(10, () => {
207207
updateMasks()
208208
activatePlasmoidCycle()
@@ -1773,6 +1773,8 @@ PlasmoidItem {
17731773
Plasmoid.status = Qt.binding(function () {return (editMode || !hideWidget) ? PlasmaCore.Types.ActiveStatus : PlasmaCore.Types.HiddenStatus})
17741774
}
17751775

1776+
onHideWidgetChanged: bindPlasmoidStatus()
1777+
17761778
Timer {
17771779
id: bindPlasmoidStatusTimer
17781780
interval: 600

0 commit comments

Comments
 (0)