light formatting

build-default-monitor-config-from-definitions
Moe 2020-05-07 08:42:41 -07:00
parent 14037040b8
commit d43270a9c8
2 changed files with 75 additions and 63 deletions

View File

@ -167,6 +167,7 @@ var addAwaitStatements = async function(){
confidence = v._score
}
matrices.push({
id: tag,
x: v._box.x,
y: v._box.y,
width: v._box.width,

View File

@ -58,4 +58,15 @@ $.grid.e
},700)
})
.on('gsresizestop', $.grid.saveElementPositions);
// function resizeGridStack() {
// var grid = $.grid.e.data('gridstack');
// var rapport = grid.container.width() / 1180;
// if (grid._isOneColumnMode())
// rapport = rapport * grid.opts.width;
// grid.cellHeight(50 * rapport);
// grid.verticalMargin(20 * rapport);
// }
// $(window).on('resize', function () {
// resizeGridStack()
// })
})