mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-01 22:55:23 +00:00
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:
parent
600e926a00
commit
6ce15e1f13
File diff suppressed because it is too large
Load Diff
@ -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);
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user