Add bcombee's Kinetic changes and modify input handler to have a bit of different grab/ungrab mechanism (currently unused anyway) and invent MouseModule.

This commit is contained in:
Roy Frostig 2009-07-23 18:34:13 -07:00
parent 600e926a00
commit 6ce15e1f13
2 changed files with 496 additions and 343 deletions

File diff suppressed because it is too large Load Diff

View File

@ -264,8 +264,9 @@ var Browser = {
},
dragStop: function dragStop(dx, dy, scroller) {
this.dragMove(dx, dy, scroller);
let ret = this.dragMove(dx, dy, scroller);
bv.resumeRendering();
return ret;
},
dragMove: function dragMove(dx, dy, scroller) {
@ -285,6 +286,8 @@ var Browser = {
if (realdx != dx || realdy != dy) {
dump('--> scroll asked for ' + dx + ',' + dy + ' and got ' + realdx + ',' + realdy + '\n');
}
return !(realdx == 0 && realdy == 0);
}
};