From f7ea76ec6ee988c54f97d9c7b4e43a38887c2ebf Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Tue, 22 Aug 2023 20:27:52 +0300 Subject: [PATCH] cleanup... Signed-off-by: Alex A. Naanou --- grid-n-view.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/grid-n-view.js b/grid-n-view.js index 2b3b9f0..32dd571 100644 --- a/grid-n-view.js +++ b/grid-n-view.js @@ -13,12 +13,6 @@ // This compansates for any resize rounding errors in patchFlexRows(..). var PATCH_MARGIN = 2 -// a timeout to let the resize settle before we handle dragover... -// XXX this is too long -- we can pickup and drag an image within this -// timeout... -// need to make it more specific (handle only vertical drag???) -var RESIZE_SETTLE_TIMEOUT = 16 - //--------------------------------------------------------------------- // Generic stuff... @@ -517,6 +511,12 @@ var Gallery = { // XXX remove this when/if the selected options feels natural... vertical_navigate_mode: 'intersection', + // a timeout to let the resize settle before we handle dragover... + // XXX this is too long -- we can pickup and drag an image within this + // timeout... + // need to make it more specific (handle only vertical drag???) + resize_settle_timeout: 16, + code: `