light formatting
parent
14037040b8
commit
d43270a9c8
|
@ -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,
|
||||
|
|
|
@ -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()
|
||||
// })
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue