From 50585d16866091700bd0a190a8aaf081c6f40b46 Mon Sep 17 00:00:00 2001 From: Hans5958 Date: Fri, 29 Apr 2022 16:58:44 +0700 Subject: [PATCH] Set path so it is positioned on top of center --- tools/migrate_atlas_format.py | 2 +- web/_js/draw.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/migrate_atlas_format.py b/tools/migrate_atlas_format.py index ca1062ed..ffeaae7a 100644 --- a/tools/migrate_atlas_format.py +++ b/tools/migrate_atlas_format.py @@ -24,8 +24,8 @@ def migrate_atlas_format(entry: dict): "name": "", "description": "", "links": {}, - "center": {}, "path": {}, + "center": {}, "contributors": [] } diff --git a/web/_js/draw.js b/web/_js/draw.js index 2273c0d2..c8c4edcf 100644 --- a/web/_js/draw.js +++ b/web/_js/draw.js @@ -252,8 +252,8 @@ function initDraw() { name: nameField.value, description: descriptionField.value, links: {}, - center: {}, path: {}, + center: {}, }; const pathWithPeriodsTemp = pathWithPeriods.concat()