Skip to content

Commit cca53ef

Browse files
committed
Fix auto scroll activated issue
1 parent a35bd96 commit cca53ef

9 files changed

+22
-3460
lines changed

README.md

+2-6
Original file line numberDiff line numberDiff line change
@@ -103,13 +103,9 @@ The repository has some examples of the plugin, to run the examples created by t
103103
- onUpdate callback to track delta
104104

105105
## Collaborators
106-
[<img alt="daniel-mf" src="https://avatars1.githubusercontent.com/u/4193707?s=117&v=4" width="117">](https://github.com/daniel-mf) |
107-
[<img alt="VitaZheltyakov" src="https://avatars3.githubusercontent.com/u/5693437?v=3&s=117" width="117">](https://github.com/VitaZheltyakov) |
108-
[<img alt="iamchristopher" src="https://avatars2.githubusercontent.com/u/5909516?v=3&s=117" width="117">](https://github.com/iamchristopher) |
109-
[<img alt="daaaabeen" src="https://avatars0.githubusercontent.com/u/3760804?s=117&v=3" width="117">](https://github.com/daaaabeen) |
110-
[<img alt="jdnichollsc" src="https://avatars3.githubusercontent.com/u/2154886?v=3&s=117" width="117">](https://github.com/jdnichollsc) |
106+
[<img alt="jdnichollsc" src="https://avatars3.githubusercontent.com/u/2154886?v=3&s=117" width="117">](https://github.com/jdnichollsc) | [<img alt="daniel-mf" src="https://avatars1.githubusercontent.com/u/4193707?s=117&v=4" width="117">](https://github.com/daniel-mf) | [<img alt="VitaZheltyakov" src="https://avatars3.githubusercontent.com/u/5693437?v=3&s=117" width="117">](https://github.com/VitaZheltyakov) | [<img alt="iamchristopher" src="https://avatars2.githubusercontent.com/u/5909516?v=3&s=117" width="117">](https://github.com/iamchristopher) | [<img alt="daaaabeen" src="https://avatars0.githubusercontent.com/u/3760804?s=117&v=3" width="117">](https://github.com/daaaabeen) |
111107
:---: |:---: |:---: |:---: |:---: |
112-
[Daniel](mailto:[email protected]) | [Vitaliy](mailto:[email protected]) | [Chris Wright](https://twitter.com/jorbascrumps) | [Daaaabeen](mailto:dianbin.lee@gmail.com) | [Nicholls](mailto:jdnichollsc@hotmail.com) |
108+
[Nicholls](mailto:[email protected]) | [Daniel](mailto:[email protected]) | [Vitaliy](mailto:[email protected]) | [Chris Wright](https://twitter.com/jorbascrumps) | [Daaaabeen](mailto:[email protected]) |
113109

114110
## Other Projects
115111
- **[IonPhaser](http://market.ionic.io/plugins/ionphaser)**

bower.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "phaser-kinetic-scrolling-plugin",
3-
"version": "1.2.0",
3+
"version": "1.2.1",
44
"homepage": "https://github.com/jdnichollsc/Phaser-Kinetic-Scrolling-Plugin",
55
"authors": [
66
"Juan David Nicholls Cardona <[email protected]>"

dist/phaser-kinetic-scrolling-plugin.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* @author Juan Nicholls <[email protected]>
44
* @copyright 2018 Juan Nicholls - http://jdnichollsc.github.io/Phaser-Kinetic-Scrolling-Plugin/
55
* @license {@link http://opensource.org/licenses/MIT}
6-
* @version 1.2.0
6+
* @version 1.2.1
77
*/
88

99
(function (Phaser) {
@@ -464,6 +464,7 @@
464464
*/
465465
Phaser.Plugin.KineticScrolling.prototype.stop = function () {
466466

467+
this.pressedDown = false;
467468
this.game.input.onDown.remove(this.beginMove, this);
468469

469470
if (this.callbackID) {

dist/phaser-kinetic-scrolling-plugin.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/js/phaser-kinetic-scrolling-plugin.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* @author Juan Nicholls <[email protected]>
44
* @copyright 2018 Juan Nicholls - http://jdnichollsc.github.io/Phaser-Kinetic-Scrolling-Plugin/
55
* @license {@link http://opensource.org/licenses/MIT}
6-
* @version 1.2.0
6+
* @version 1.2.1
77
*/
88

99
(function (Phaser) {
@@ -464,6 +464,7 @@
464464
*/
465465
Phaser.Plugin.KineticScrolling.prototype.stop = function () {
466466

467+
this.pressedDown = false;
467468
this.game.input.onDown.remove(this.beginMove, this);
468469

469470
if (this.callbackID) {

gulpfile.js

+10-10
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,16 @@ var paths = {
1212
gulp.task('default', ['dist', 'examples', 'watch']);
1313

1414
gulp.task('dist', function() {
15-
return gulp.src(paths.source)
16-
.pipe(concat("phaser-kinetic-scrolling-plugin.js"))
17-
.pipe(gulp.dest("./dist/"))
18-
.pipe(gulp.dest("./examples/js/"))
19-
.pipe(rename({
20-
extname: ".min.js"
21-
}))
22-
.pipe(uglify())
23-
.pipe(gulp.dest("./dist/"))
24-
.pipe(connect.reload());
15+
return gulp.src(paths.source)
16+
.pipe(concat("phaser-kinetic-scrolling-plugin.js"))
17+
.pipe(gulp.dest("./dist/"))
18+
.pipe(gulp.dest("./examples/js/"))
19+
.pipe(rename({
20+
extname: ".min.js"
21+
}))
22+
.pipe(uglify())
23+
.pipe(gulp.dest("./dist/"))
24+
.pipe(connect.reload());
2525
});
2626

2727
gulp.task('examples', function() {

0 commit comments

Comments
 (0)