Commit 91aa144ae53f7598868e6b3f5c73985b6ecb32f9

Authored by Kalutka Zhenya
1 parent e7c19013

Fix widget margin

... ... @@ -422,6 +422,12 @@ export class DashboardUtilsService {
422 422 widgetLayout.row = row;
423 423 widgetLayout.col = 0;
424 424 }
  425 +
  426 + widgetLayout.sizeX = Math.floor(widgetLayout.sizeX);
  427 + widgetLayout.sizeY = Math.floor(widgetLayout.sizeY);
  428 + widgetLayout.row = Math.floor(widgetLayout.row);
  429 + widgetLayout.col = Math.floor(widgetLayout.col);
  430 +
425 431 layout.widgets[widget.id] = widgetLayout;
426 432 }
427 433
... ...