Merge branch 'grid-n-view' of ssh://flynx.chas.ch/olyakonstantin/gallery into grid-n-view

This commit is contained in:
Alex A. Naanou 2023-09-12 15:29:29 +03:00
commit 58f44fc983

View File

@ -1,10 +1,10 @@
//===================================================================== //=====================================================================
// //
// //
//
// TODO: // TODO:
// - crop selection // - ui for cropping...
// - make the gallery into a web component // - drag-n-drop for touch devices...
// - handle url-hash
// //
// //
//===================================================================== //=====================================================================
@ -15,7 +15,7 @@
// This compansates for any resize rounding errors in patchFlexRows(..). // This compansates for any resize rounding errors in patchFlexRows(..).
var PATCH_MARGIN = 2 var PATCH_MARGIN = 2
// XXX do this partially (ignoring prevent_row_expansion)...
var patchFlexRows = var patchFlexRows =
function(elems, function(elems,
prevent_row_expansion=false, prevent_row_expansion=false,