mirror of
https://github.com/konvajs/konva.git
synced 2025-04-05 20:48:28 +08:00
Default value for alpha channel
This commit is contained in:
parent
49c96fcd99
commit
ddde211204
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user