mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 10:37:34 +00:00
fixes initial level positioning
This commit is contained in:
parent
aaa1db4468
commit
cad112419d
14 changed files with 91 additions and 61 deletions
|
|
@ -8,14 +8,14 @@ define([
|
|||
function (Parent, PIXI, Nc, Settings) {
|
||||
|
||||
function Swiper() {
|
||||
Parent.call(this, "swiper", 0);
|
||||
Parent.call(this, "swiper", {parallaxSpeed:0});
|
||||
|
||||
this.static = true;
|
||||
|
||||
this.ncTokens = [
|
||||
this.ncTokens = this.ncTokens.concat([
|
||||
Nc.on(Nc.ns.client.view.swiper.swipe, this.swipe, this),
|
||||
Nc.on(Nc.ns.client.view.swiper.end, this.end, this)
|
||||
];
|
||||
]);
|
||||
|
||||
this.sprite = new PIXI.Graphics();
|
||||
this.container.addChild(this.sprite);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue