tweaks...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
087254328c
commit
5a52210b18
@ -93,7 +93,7 @@ var restoreScroll = function(){
|
||||
- actions:
|
||||
- "from selection"
|
||||
- Gallery: drag-n-drop
|
||||
- <s>drop files/images</s>
|
||||
- <s>drop files/images</s> -- add loading indicator
|
||||
- drag to sort
|
||||
- <s>Gallery: remove image</s>
|
||||
- UI: mark images for deletion + delete marked
|
||||
|
||||
@ -19,11 +19,14 @@
|
||||
var PATCH_MARGIN = 2
|
||||
|
||||
var patchFlexRows =
|
||||
function(elems, prevent_row_expansion=false, last_row_resize=1.5){
|
||||
function(elems,
|
||||
prevent_row_expansion=false,
|
||||
last_row_resize=1.5,
|
||||
patch_margin=PATCH_MARGIN){
|
||||
if(elems.length == 0){
|
||||
return }
|
||||
// NOTE: -1 here is to compensate for rounding errors...
|
||||
var W = elems[0].parentElement.clientWidth - PATCH_MARGIN
|
||||
var W = elems[0].parentElement.clientWidth - patch_margin
|
||||
var w = 0
|
||||
var h
|
||||
var row = []
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user