tripeur 4 anni fa
parent
commit
44a1b49aae
3 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 1 1
      lib/Timeline.js
  2. 0 0
      lib/Timeline.js.map
  3. 1 1
      src/Timeline.ts

+ 1 - 1
lib/Timeline.js

@@ -158,7 +158,7 @@ let Timeline = class Timeline extends lit_element_1.LitElement {
                         this.rows.splice(idx + r.parent.children.indexOf(r) + 1, 0, r);
                     }
                     else {
-                        this.rows.splice(idx + r.parent.children.length + 1, 0, r);
+                        this.rows.splice(idx + r.parent.children.length, 0, r);
                         r.parent.children = [...r.parent.children, r];
                     }
                 }

File diff suppressed because it is too large
+ 0 - 0
lib/Timeline.js.map


+ 1 - 1
src/Timeline.ts

@@ -210,7 +210,7 @@ class Timeline extends LitElement {
           if (alreadyChild) {
             this.rows.splice(idx + r.parent.children.indexOf(r) + 1, 0, r);
           } else {
-            this.rows.splice(idx + r.parent.children.length + 1, 0, r);
+            this.rows.splice(idx + r.parent.children.length, 0, r);
             r.parent.children = [...r.parent.children, r];
           }
         }

Some files were not shown because too many files changed in this diff