mirror of
https://github.com/konvajs/konva.git
synced 2025-11-18 09:07:30 +08:00
transitions can now operate on ANY numeric value for any Node object, regardless of the property's depth in a config object tree
This commit is contained in:
@@ -11,7 +11,6 @@ function log(message) {
|
||||
*/
|
||||
function Test() {
|
||||
this.testOnly = '';
|
||||
this.counter = 0;
|
||||
}
|
||||
/**
|
||||
* Test methods
|
||||
|
||||
@@ -141,11 +141,23 @@ Test.prototype.tests = {
|
||||
y: 0.5
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
group.add(circle);
|
||||
layer.add(group);
|
||||
stage.add(layer);
|
||||
|
||||
/*
|
||||
circle.transitionTo({
|
||||
duration: 1,
|
||||
fill: {
|
||||
start: {
|
||||
x: 20
|
||||
}
|
||||
}
|
||||
});
|
||||
*/
|
||||
|
||||
},
|
||||
'STAGE - add shape with alpha': function(containerId) {
|
||||
var stage = new Kinetic.Stage({
|
||||
|
||||
Reference in New Issue
Block a user