From ff0b180548afaa28b58b179bb68e06c5d0b7da76 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Mon, 17 Apr 2017 01:17:25 +0300 Subject: [PATCH] notes... Signed-off-by: Alex A. Naanou --- ui (gen4)/features/ui-partial-ribbons-2.js | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/ui (gen4)/features/ui-partial-ribbons-2.js b/ui (gen4)/features/ui-partial-ribbons-2.js index 37a63e5b..a1d5a8bc 100755 --- a/ui (gen4)/features/ui-partial-ribbons-2.js +++ b/ui (gen4)/features/ui-partial-ribbons-2.js @@ -15,6 +15,17 @@ var core = require('features/core') /*********************************************************************/ +// XXX update sequence: +// - if target is loaded more than 1 screen width off the edge: +// - jump (animate) +// - update ribbon +// - if target is not loaded or too close to edge: +// - update ribbon to place current at ~1 screen off the edge in +// the opposite direction... +// - load target partially (1/2 ribbon) ~1 screen off the other edge +// - jump (animate) +// - update ribbon to place target at center of ribbon +// ...this all feels a bit too complicated... // XXX do we need to do most of the work here on in imagegrid/data.js??? // ...another question would be if we can do this using existing // functionality?