mirror of
https://github.com/webxoss/webxoss-client.git
synced 2024-11-20 05:49:55 +01:00
add infected state
This commit is contained in:
parent
cd07963977
commit
8ec1044538
1 changed files with 2 additions and 0 deletions
2
Zone.js
2
Zone.js
|
@ -176,6 +176,8 @@ Zone.prototype.addStates = function (states) {
|
||||||
g.f('rgba(164,96,222,0.3)').r(-w/2,-h/2,w,h);
|
g.f('rgba(164,96,222,0.3)').r(-w/2,-h/2,w,h);
|
||||||
} else if (state === 'disabled') {
|
} else if (state === 'disabled') {
|
||||||
g.f('rgba(0,0,0,0.7)').r(-w/2,-h/2,w,h);
|
g.f('rgba(0,0,0,0.7)').r(-w/2,-h/2,w,h);
|
||||||
|
} else if (state === 'infected') {
|
||||||
|
g.f('rgba(255,0,0,0.3)').r(-w/2,-h/2,w,h);
|
||||||
}
|
}
|
||||||
},this);
|
},this);
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue