fix(Dashboard widget resize position): when resizing an widget without saved position it would save it with x:0 and y:0

This commit is contained in:
SimonGschnell
2025-04-14 14:57:14 +02:00
parent a25ccd79b2
commit 88c4a04aea
+1 -1
View File
@@ -164,7 +164,7 @@ class GridLogic {
currItem.frame = this.getItemFrame(currItem);
const updates = this.add(currItem);
updates[item.index] = {index: item.index, w, h, resize:true};
updates[item.index] = {index: item.index, w, h, x:item.x, y:item.y, resize:true};
return updates;
}