testing and notes...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2017-04-19 14:20:38 +03:00
parent 41b429f370
commit 81e66be661
2 changed files with 11 additions and 7 deletions

View File

@ -97,11 +97,11 @@ body {
/* XXX should this be !important */ /* XXX should this be !important */
.no-transitions { .no-transitions {
-webkit-transition: none; -webkit-transition: none !important;
-moz-transition: none; -moz-transition: none !important;
-ms-transition: none; -ms-transition: none !important;
-o-transition: none; -o-transition: none !important;
transition: none; transition: none !important;
} }
/* XXX think of a way not to use !important */ /* XXX think of a way not to use !important */

View File

@ -131,6 +131,10 @@ var PartialRibbonsActions = actions.Actions({
//console.log('UPDATE') //console.log('UPDATE')
// XXX a bit jumpy, need to make this work sync within // XXX a bit jumpy, need to make this work sync within
// as close to a single frame as possible... // 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 (r.length == 0
|| (this.toggleSingleImage || (this.toggleSingleImage
&& this.toggleSingleImage('?') == 'on')) ? && this.toggleSingleImage('?') == 'on')) ?
@ -153,8 +157,8 @@ var PartialRibbonsActions = actions.Actions({
// jumpy but does not touch the indicator // jumpy but does not touch the indicator
// animation... // animation...
target) target)
.restoreTransitions(r, true) //.restoreTransitions(r, true)
//.restoreTransitions(r) .restoreTransitions(r)
} }
}], }],
}) })