mirror of
https://github.com/konvajs/konva.git
synced 2025-11-09 03:36:14 +08:00
fix method
This commit is contained in:
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);
|
||||
|
||||
Reference in New Issue
Block a user