mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 10:37:34 +00:00
fixes #157
This commit is contained in:
parent
f35b9f5ba9
commit
502cf72a7e
1 changed files with 4 additions and 4 deletions
|
|
@ -36,10 +36,10 @@ function (Parent, PIXI, Nc, Settings) {
|
||||||
arrow.visible = false;
|
arrow.visible = false;
|
||||||
this.container.addChild(arrow);
|
this.container.addChild(arrow);
|
||||||
|
|
||||||
var width = 12,
|
var width = 10,
|
||||||
height = 12;
|
height = 10;
|
||||||
|
|
||||||
arrow.beginFill(0xffffff, 0.1);
|
arrow.beginFill(0xffffff, 0.4);
|
||||||
arrow.lineStyle(0, 0x000000);
|
arrow.lineStyle(0, 0x000000);
|
||||||
arrow.moveTo(0, 0);
|
arrow.moveTo(0, 0);
|
||||||
arrow.lineTo(width, 0);
|
arrow.lineTo(width, 0);
|
||||||
|
|
@ -56,7 +56,7 @@ function (Parent, PIXI, Nc, Settings) {
|
||||||
Ghost.prototype.onUpdatePlayerArrow = function(arrow, options) {
|
Ghost.prototype.onUpdatePlayerArrow = function(arrow, options) {
|
||||||
|
|
||||||
var offsetX = 0,
|
var offsetX = 0,
|
||||||
offsetY = -60,
|
offsetY = -55,
|
||||||
x = offsetX + options.x,
|
x = offsetX + options.x,
|
||||||
y = offsetY + options.y;
|
y = offsetY + options.y;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue