mirror of
https://github.com/konvajs/konva.git
synced 2025-11-09 03:44:46 +08:00
fix method
This commit is contained in:
4
konva.js
4
konva.js
@@ -18422,7 +18422,7 @@
|
|||||||
anchor.on('mousenter', function() {
|
anchor.on('mousenter', function() {
|
||||||
var layer = this.getLayer();
|
var layer = this.getLayer();
|
||||||
anchor.getStage().getContainer().style.cursor = 'pointer';
|
anchor.getStage().getContainer().style.cursor = 'pointer';
|
||||||
this.strokeSize(this.strokeSize() * 4);
|
this.strokeWidth(this.strokeWidth() * 4);
|
||||||
layer.draw();
|
layer.draw();
|
||||||
});
|
});
|
||||||
anchor.on('mouseout', function() {
|
anchor.on('mouseout', function() {
|
||||||
@@ -18431,7 +18431,7 @@
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
anchor.getStage().getContainer().style.cursor = '';
|
anchor.getStage().getContainer().style.cursor = '';
|
||||||
this.strokeSize(this.strokeSize() / 4);
|
this.strokeWidth(this.strokeWidth() / 4);
|
||||||
layer.draw();
|
layer.draw();
|
||||||
});
|
});
|
||||||
this.add(anchor);
|
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() {
|
anchor.on('mousenter', function() {
|
||||||
var layer = this.getLayer();
|
var layer = this.getLayer();
|
||||||
anchor.getStage().getContainer().style.cursor = 'pointer';
|
anchor.getStage().getContainer().style.cursor = 'pointer';
|
||||||
this.strokeSize(this.strokeSize() * 4);
|
this.strokeWidth(this.strokeWidth() * 4);
|
||||||
layer.draw();
|
layer.draw();
|
||||||
});
|
});
|
||||||
anchor.on('mouseout', function() {
|
anchor.on('mouseout', function() {
|
||||||
@@ -157,7 +157,7 @@
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
anchor.getStage().getContainer().style.cursor = '';
|
anchor.getStage().getContainer().style.cursor = '';
|
||||||
this.strokeSize(this.strokeSize() / 4);
|
this.strokeWidth(this.strokeWidth() / 4);
|
||||||
layer.draw();
|
layer.draw();
|
||||||
});
|
});
|
||||||
this.add(anchor);
|
this.add(anchor);
|
||||||
|
|||||||
Reference in New Issue
Block a user