mirror of
https://github.com/konvajs/konva.git
synced 2025-04-05 20:48:28 +08:00
fix method
This commit is contained in:
parent
0423830e55
commit
7aca4ef58f
4
konva.js
4
konva.js
@ -18422,7 +18422,7 @@
|
||||
anchor.on('mousenter', function() {
|
||||
var layer = this.getLayer();
|
||||
anchor.getStage().getContainer().style.cursor = 'pointer';
|
||||
this.strokeSize(this.strokeSize() * 4);
|
||||
this.strokeWidth(this.strokeWidth() * 4);
|
||||
layer.draw();
|
||||
});
|
||||
anchor.on('mouseout', function() {
|
||||
@ -18431,7 +18431,7 @@
|
||||
return;
|
||||
}
|
||||
anchor.getStage().getContainer().style.cursor = '';
|
||||
this.strokeSize(this.strokeSize() / 4);
|
||||
this.strokeWidth(this.strokeWidth() / 4);
|
||||
layer.draw();
|
||||
});
|
||||
this.add(anchor);
|
||||
|
2
konva.min.js
vendored
2
konva.min.js
vendored
File diff suppressed because one or more lines are too long
@ -148,7 +148,7 @@
|
||||
anchor.on('mousenter', function() {
|
||||
var layer = this.getLayer();
|
||||
anchor.getStage().getContainer().style.cursor = 'pointer';
|
||||
this.strokeSize(this.strokeSize() * 4);
|
||||
this.strokeWidth(this.strokeWidth() * 4);
|
||||
layer.draw();
|
||||
});
|
||||
anchor.on('mouseout', function() {
|
||||
@ -157,7 +157,7 @@
|
||||
return;
|
||||
}
|
||||
anchor.getStage().getContainer().style.cursor = '';
|
||||
this.strokeSize(this.strokeSize() / 4);
|
||||
this.strokeWidth(this.strokeWidth() / 4);
|
||||
layer.draw();
|
||||
});
|
||||
this.add(anchor);
|
||||
|
Loading…
Reference in New Issue
Block a user