🚀 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.8
to
0.0.9
+14
-7
models/timeline.ts

@@ -379,9 +379,16 @@ import { h } from "../h";

}
const left =
this.offset > 0
? 0 + this.lineOptions.textWidth!
: -this.offset + this.lineOptions.textWidth!;
if (this.x < left) {
this.x = left;
if (this.data) {
const left =
this.offset >= 0
? 0 + this.lineOptions.textWidth!
: -this.offset + this.lineOptions.textWidth!;
if (this.x < left) {
this.x = left;
}
} else {
console.log(this.offset, this.x, this.lineOptions.textWidth);
const left = this.lineOptions.textWidth!;
if (this.x < left) {
this.x = left;
}
}

@@ -388,0 +395,0 @@ if (

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

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