]> www.average.org Git - mkgallery.git/blobdiff - include/show.js
outline strategy on window resize
[mkgallery.git] / include / show.js
index 2b5264f4be9d54bf460adc16f45bb6bd2844b612..a5f2abd5ddea8a5ac0e09e70f800416f76a767b3 100644 (file)
@@ -30,6 +30,9 @@
   - On "stop": if "playing" cancel autoswitch; break "playing".
   - On "start show": set up things; set "playing" state; show needed image.
   - On "stop show": cancel any schedules, hide things.
+  - On resize: recalculate existing image size and position; determine
+    what image is needed; if it is not the one on display then request
+    "show image" for the new image.
 */
 
 var Show = new Class({