mirror of
https://github.com/konvajs/konva.git
synced 2025-12-21 11:14:00 +08:00
now passing Kinetic event object instead of native event object
This commit is contained in:
@@ -918,10 +918,11 @@ suite('MouseEvents', function() {
|
||||
group2.on('click', function() {
|
||||
e.push('group2');
|
||||
});
|
||||
layer.on('click', function() {
|
||||
layer.on('click', function(evt) {
|
||||
console.log(evt)
|
||||
e.push('layer');
|
||||
});
|
||||
stage.on('click', function() {
|
||||
stage.on('click', function(evt) {
|
||||
e.push('stage');
|
||||
});
|
||||
// click on circle
|
||||
|
||||
Reference in New Issue
Block a user