Default value for alpha channel

This commit is contained in:
Gleb Pospelov 2015-06-09 13:26:06 +03:00
parent 49c96fcd99
commit ddde211204

View File

@ -85,7 +85,7 @@
* @returns {Integer}
*/
Konva.Factory.addGetterSetter(Konva.Node, 'alpha', 0, function(val) {
Konva.Factory.addGetterSetter(Konva.Node, 'alpha', 1, function(val) {
this._filterUpToDate = false;
if (val > 1) {
return 1;