From 81e66be66135431b274b82144d2179d272196fd8 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Wed, 19 Apr 2017 14:20:38 +0300 Subject: [PATCH] testing and notes... Signed-off-by: Alex A. Naanou --- ui (gen4)/css/experimenting.css | 10 +++++----- ui (gen4)/features/ui-partial-ribbons-2.js | 8 ++++++-- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/ui (gen4)/css/experimenting.css b/ui (gen4)/css/experimenting.css index a559f203..eedb760c 100755 --- a/ui (gen4)/css/experimenting.css +++ b/ui (gen4)/css/experimenting.css @@ -97,11 +97,11 @@ body { /* XXX should this be !important */ .no-transitions { - -webkit-transition: none; - -moz-transition: none; - -ms-transition: none; - -o-transition: none; - transition: none; + -webkit-transition: none !important; + -moz-transition: none !important; + -ms-transition: none !important; + -o-transition: none !important; + transition: none !important; } /* XXX think of a way not to use !important */ diff --git a/ui (gen4)/features/ui-partial-ribbons-2.js b/ui (gen4)/features/ui-partial-ribbons-2.js index 1693634c..e97060b6 100755 --- a/ui (gen4)/features/ui-partial-ribbons-2.js +++ b/ui (gen4)/features/ui-partial-ribbons-2.js @@ -131,6 +131,10 @@ var PartialRibbonsActions = actions.Actions({ //console.log('UPDATE') // XXX a bit jumpy, need to make this work sync within // as close to a single frame as possible... + // XXX .preventTransitions(..) seems not to have the + // desired effect... + // ...might also be a good idea to update the indicator + // or give it an event to update to... (r.length == 0 || (this.toggleSingleImage && this.toggleSingleImage('?') == 'on')) ? @@ -153,8 +157,8 @@ var PartialRibbonsActions = actions.Actions({ // jumpy but does not touch the indicator // animation... target) - .restoreTransitions(r, true) - //.restoreTransitions(r) + //.restoreTransitions(r, true) + .restoreTransitions(r) } }], })