minor tweak...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2023-08-11 15:52:48 +03:00
parent 1061323d8b
commit 9d91940be0

View File

@ -11,14 +11,15 @@
//
//=====================================================================
// This compansates for any resize rounding errors in patchFlexRows(..).
var PATCH_MARGIN = 2
// a timeout to let the resize settle before we handle dragover...
var RESIZE_SETTLE_TIMEOUT = 16
//---------------------------------------------------------------------
// This compansates for any resize rounding errors in patchFlexRows(..).
var PATCH_MARGIN = 2
var DRAG_DEAD_ZONE = 0.2
var patchFlexRows =
function(elems,
prevent_row_expansion=false,
@ -792,7 +793,7 @@ var Gallery = {
// after) resize...
skip_dragover = true
setTimeout(function(){
skip_dragover = false }, 20)
skip_dragover = false }, RESIZE_SETTLE_TIMEOUT)
that
.__update_grid_size()
.updateMarkers()