소스 검색

experiement on legend fixing

tripeur 4 년 전
부모
커밋
fdbebb9893
6개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 1
      lib/Timeline.js
  2. 0 0
      lib/Timeline.js.map
  3. 0 0
      lib/styles/SimplbeBar.styles.js
  4. 0 0
      lib/styles/Timeline.style.js
  5. 1 1
      src/Timeline.ts
  6. 1 1
      src/styles/Timeline.style.ts

+ 1 - 1
lib/Timeline.js

@@ -304,7 +304,7 @@ let Timeline = class Timeline extends lit_element_1.LitElement {
                 let i = 0;
                 while (currentDate.isBefore(this._end)) {
                     i += this.legendSpan;
-                    if (nextColumn.diff(currentDate, legendUnit) >= 0) {
+                    if (nextColumn.diff(currentDate, legendUnit) > 0) {
                         row.push({ colspan: i, title: '' + currentDate.format(this.legendUnitFormat[legendUnit]) });
                         i = 0;
                         currentDate = nextColumn;

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
lib/Timeline.js.map


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
lib/styles/SimplbeBar.styles.js


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
lib/styles/Timeline.style.js


+ 1 - 1
src/Timeline.ts

@@ -386,7 +386,7 @@ class Timeline extends LitElement {
                 let i = 0;
                 while(currentDate.isBefore(this._end)){
                     i+=this.legendSpan;
-                    if(nextColumn.diff(currentDate,legendUnit) >= 0  ){                    
+                    if(nextColumn.diff(currentDate,legendUnit) > 0  ){                    
                         row.push({colspan:i,title:'' + currentDate.format(this.legendUnitFormat[legendUnit])})
                         i = 0;
                         currentDate = nextColumn;

+ 1 - 1
src/styles/Timeline.style.ts

@@ -157,7 +157,7 @@ i.jc-spacer.collapse:after{
     color:#fff;
     border-radius:3px;
     margin:2px 0px;
-    z-index:1;
+    z-index:auto;
     cursor: grab;
 }
 .jc-timeslot-title{

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.