diff --git a/ui/TODO.otl b/ui/TODO.otl index 26d94910..38151d02 100755 --- a/ui/TODO.otl +++ b/ui/TODO.otl @@ -117,7 +117,7 @@ Roadmap | | Race condition?? | - | Can't reproduce this... + | Can't reproduce this... need to test on a faster machine... [X] BUG: appear to be leaking memory on very large sets of images (>8K) | don't remember it before, so it might be due to the new | loadImagesAround(..) @@ -527,6 +527,15 @@ Roadmap [_] side-by side view... [_] Simplify tool-tip structure in dialogs... | might also bee good to unify tool-tips across the app... + [_] BUG (low priority): dragging a sub-panel, over and out again is odd.. + | i.e. if the placeholder moves... + | + | Expected: + | create a new panel and drop into it or revert + | + | Actual: + | drops to last placeholder + | [X] BUG: zooming vertical images in single image view results in size jumping... | Reason: | This is due to the proportion ratio changing in one step... diff --git a/ui/experiments/panels.html b/ui/experiments/panels.html index 69431a68..60e36022 100755 --- a/ui/experiments/panels.html +++ b/ui/experiments/panels.html @@ -4,18 +4,6 @@ @@ -46,13 +34,6 @@ $(function(){ .find('.content') .html('

Panel C

') - /* - $('.docked-panels') - .sortable({ - cancel: '.viewer', - connectWith: '.panel-content', - }) - */ $('body') @@ -67,11 +48,6 @@ $(function(){ -
-
-
-
- diff --git a/ui/lib/panels.js b/ui/lib/panels.js index f9a68c40..d37314e2 100755 --- a/ui/lib/panels.js +++ b/ui/lib/panels.js @@ -45,6 +45,11 @@ function makePanel(title, open, editable_title, keep_empty){ // wrapper for sub-panels... + // XXX dragging out, into another panel and back out behaves oddly: + // should: + // either revert or create a new panel + // does: + // drops to last placeholder var content = $('') .sortable({ forcePlaceholderSize: true, @@ -53,14 +58,14 @@ function makePanel(title, open, editable_title, keep_empty){ zIndex: 9999, start: function(e, ui){ - console.log('start') + //console.log('start') ui.item.data('isoutside', false) ui.placeholder.height(ui.helper.outerHeight()); ui.placeholder.width(ui.helper.outerWidth()); }, // create a new panel when dropping outside of curent panel... beforeStop: function(e, ui){ - console.log('stop') + //console.log('stop') var c = 0 // do this only when dropping outside the panel... @@ -92,11 +97,11 @@ function makePanel(title, open, editable_title, keep_empty){ ui.item.data('isoutside', false) }, over: function(e, ui){ - console.log('over') + //console.log('over') ui.item.data('isoutside', false) }, out: function(e, ui){ - console.log('out') + //console.log('out') ui.item.data('isoutside', true) }, })