added update script and better plane icon clicking
This commit is contained in:
@@ -1259,7 +1259,7 @@ function toSvg(shape, fillColor, strokeColor, strokeWidth, scale) {
|
|||||||
+ '<g' + (shape.transform ? (' transform="' + shape.transform + '"') : '') + '>'
|
+ '<g' + (shape.transform ? (' transform="' + shape.transform + '"') : '') + '>'
|
||||||
+ '<rect x="' + shape.viewBox.split(' ')[0] + '" y="' + shape.viewBox.split(' ')[1]
|
+ '<rect x="' + shape.viewBox.split(' ')[0] + '" y="' + shape.viewBox.split(' ')[1]
|
||||||
+ '" width="' + shape.viewBox.split(' ')[2] + '" height="' + shape.viewBox.split(' ')[3]
|
+ '" width="' + shape.viewBox.split(' ')[2] + '" height="' + shape.viewBox.split(' ')[3]
|
||||||
+ '" fill="transparent" stroke="none"/>';
|
+ '" fill="#ffffff01" stroke="none"/>';
|
||||||
|
|
||||||
if (shape.path) {
|
if (shape.path) {
|
||||||
let path = shape.path;
|
let path = shape.path;
|
||||||
|
|||||||
Reference in New Issue
Block a user