Update extensions for new SVG-Edit API
This commit is contained in:
parent
9636cab11e
commit
c946c331e1
5 changed files with 5 additions and 15 deletions
|
@ -9,8 +9,7 @@
|
|||
|
||||
// This extension adds a simple button to the contextual panel for paths
|
||||
// The button toggles whether the path is open or closed
|
||||
$(function() {
|
||||
svgCanvas.addExtension("ClosePath", function(S) {
|
||||
svgEditor.addExtension("ClosePath", function(S) {
|
||||
var selElems,
|
||||
updateButton = function(path) {
|
||||
var seglist = path.pathSegList,
|
||||
|
@ -90,5 +89,4 @@ $(function() {
|
|||
}
|
||||
}
|
||||
};
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue