mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-20 00:12:15 +00:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user