We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2dabbd commit 34beab3Copy full SHA for 34beab3
src/helper/modify-shape-helper.ts
@@ -31,11 +31,12 @@ export default class ModifyShapeHelper {
31
h: { tag: 'a:ext', attribute: 'cy' },
32
};
33
34
- const parent = 'a:xfrm';
+ // const parent = 'a:xfrm'; // for pictures
35
+ // const parent = 'p:xfrm'; // for shapes
36
37
Object.keys(pos).forEach((key) => {
38
element
- .getElementsByTagName(parent)[0]
39
+ //.getElementsByTagName(parent)[0]
40
.getElementsByTagName(map[key].tag)[0]
41
.setAttribute(map[key].attribute, pos[key]);
42
});
0 commit comments