Fix widget margin
This commit is contained in:
parent
e7c1901346
commit
91aa144ae5
@ -422,6 +422,12 @@ export class DashboardUtilsService {
|
|||||||
widgetLayout.row = row;
|
widgetLayout.row = row;
|
||||||
widgetLayout.col = 0;
|
widgetLayout.col = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
widgetLayout.sizeX = Math.floor(widgetLayout.sizeX);
|
||||||
|
widgetLayout.sizeY = Math.floor(widgetLayout.sizeY);
|
||||||
|
widgetLayout.row = Math.floor(widgetLayout.row);
|
||||||
|
widgetLayout.col = Math.floor(widgetLayout.col);
|
||||||
|
|
||||||
layout.widgets[widget.id] = widgetLayout;
|
layout.widgets[widget.id] = widgetLayout;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user