more notes -- praparing for next stage refactoring...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2017-05-16 02:06:09 +03:00
parent 72dd13a80b
commit 1678298443

View File

@ -1350,6 +1350,7 @@ var ControlActions = actions.Actions({
})],
// XXX do not do anything on viewer focus... (???)
// XXX depends on .ribbons...
toggleImageClickHandling: ['Interface/Image click handling',
toggler.Toggler(null,
function(_, new_state){
@ -1478,6 +1479,7 @@ var ControlActions = actions.Actions({
})],
// XXX revise name...
// XXX depends on .ribbons...
makeRibbonVisible: ['- Interface/Make ribbon visible if it is off screen',
function(target, center_off_screen){
var r = this.ribbons.getRibbon(target)
@ -1552,6 +1554,7 @@ var ControlActions = actions.Actions({
// XXX this is really slow/buggy on IE...
// ...found the problem, need to disable transitions for this
// to work semi smoothly...
// XXX depends on .ribbons...
toggleRibbonPanHandling: ['Interface/Ribbon pan handling',
toggler.Toggler(null,
function(_, new_state){
@ -1789,6 +1792,7 @@ var ControlActions = actions.Actions({
// ...detect via cursor within the vertical band of the ribbon...
// XXX BUG?: acceleration seems to be increasing with time...
// XXX add a "ribbonWheeling" ( ;) ) event a-la ribbonPanning...
// XXX depends on .ribbons...
toggleMouseWheelHandling: ['Interface/Mouse wheel handling',
toggler.Toggler(null,
function(_, new_state){
@ -1900,6 +1904,7 @@ var ControlActions = actions.Actions({
// XXX make the enable handling check a bit more general...
// ...allow ui features to control this...
// XXX depends on .ribbons...
toggleSwipeHandling: ['Interface/Swipe handling',
toggler.Toggler(null,
function(_, state){