🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

glibline

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

glibline - npm Package Compare versions

Comparing version
0.0.7
to
0.0.8
+17
-0
models/timeline.ts

@@ -374,2 +374,3 @@ import { h } from "../h";

if (this.x) {
console.log(this.x, this.offset);
let index = 0;

@@ -379,2 +380,18 @@ if (this.data) {

}
const left =
this.offset > 0
? 0 + this.lineOptions.textWidth!
: -this.offset + this.lineOptions.textWidth!;
if (this.x < left) {
this.x = left;
}
if (
this.x >
this.timeline.clientWidth * this.zoomLevel + this.lineOptions.textWidth!
) {
this.x =
this.timeline.clientWidth * this.zoomLevel +
this.lineOptions.textWidth!;
}
this.tipDiv = h(

@@ -381,0 +398,0 @@ "div",

+1
-1
{
"name": "glibline",
"version": "0.0.7",
"version": "0.0.8",
"description": "时间轴(timeline),用于实现根据时间对数据事件操作。",

@@ -5,0 +5,0 @@ "main": "index.ts",