Skip to content

Commit f1e4c96

Browse files
committed
Merge branch 'master' of https://github.com/nturley/netlistsvg
2 parents 63013e2 + 3817460 commit f1e4c96

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

built/Cell.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ var Cell = /** @class */ (function () {
169169
var layoutAttrs = { 'org.eclipse.elk.portConstraints': 'FIXED_POS' };
170170
var fixedPosX = null;
171171
var fixedPosY = null;
172-
for (var attr in Object.keys(this.attributes)) {
172+
for (var attr in this.attributes) {
173173
if (attr.startsWith('org.eclipse.elk')) {
174174
if (attr === 'org.eclipse.elk.x') {
175175
fixedPosX = this.attributes[attr];

lib/Cell.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ export default class Cell {
181181
const layoutAttrs = { 'org.eclipse.elk.portConstraints': 'FIXED_POS' };
182182
let fixedPosX = null;
183183
let fixedPosY = null;
184-
for (const attr in Object.keys(this.attributes)) {
184+
for (const attr in this.attributes) {
185185
if (attr.startsWith('org.eclipse.elk')) {
186186
if (attr === 'org.eclipse.elk.x') {
187187
fixedPosX = this.attributes[attr];

0 commit comments

Comments
 (0)