Commit 9db0e5aac4ae8fb15c5a5504bac8aa6fa96f3938

Authored by Igor Kulikov
Committed by GitHub
2 parents a5e8cab5 91aa144a

Merge pull request #3702 from kalutkaz/widgetMargin

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
... ...