@prefecthq/graphs 2.0.1 → 2.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -15935,7 +15935,7 @@ function Z0(r) {
15935
15935
  globalThis.__PIXI_APP__ = r;
15936
15936
  }
15937
15937
  async function q0() {
15938
- const { Viewport: r } = await import("./viewport.es-73ad6f79.mjs");
15938
+ const { Viewport: r } = await import("./viewport.es-f8e518db.mjs");
15939
15939
  return r;
15940
15940
  }
15941
15941
  const {
@@ -19580,12 +19580,12 @@ class Gb extends lt {
19580
19580
  }
19581
19581
  }
19582
19582
  function Sf(r) {
19583
- let { left: e, right: t } = r;
19584
- function i() {
19585
- const { left: n, right: s } = r;
19586
- return n === e && s === t ? !1 : (e = n, t = s, !0);
19583
+ let { left: e, right: t, height: i } = r;
19584
+ function n() {
19585
+ const { left: s, right: a, height: o } = r;
19586
+ return s === e && a === t && o === i ? !1 : (e = s, t = a, i = o, !0);
19587
19587
  }
19588
- return i;
19588
+ return n;
19589
19589
  }
19590
19590
  class kb extends lt {
19591
19591
  constructor(t) {
@@ -19598,7 +19598,7 @@ class kb extends lt {
19598
19598
  R(this, "label");
19599
19599
  R(this, "unwatch");
19600
19600
  R(this, "tick", () => {
19601
- !this.date || !this.viewportUpdated() || this.updatePosition();
19601
+ !this.date || !this.viewportUpdated() || (this.updatePosition(), this.updateLineHeight());
19602
19602
  });
19603
19603
  this.state = t, this.viewportUpdated = Sf(t.viewport), this.state.pixiApp.ticker.add(this.tick), this.interactive = !1, this.createLine(), this.createLabel(), this.unwatch = Lt(t.styleOptions, () => {
19604
19604
  this.createLine(), this.createLabel();
@@ -19634,6 +19634,9 @@ class kb extends lt {
19634
19634
  const { viewport: t } = this.state;
19635
19635
  return this.state.timeScale.dateToX(this.date) * t.scale._x + t.worldTransform.tx;
19636
19636
  }
19637
+ updateLineHeight() {
19638
+ this.line && (this.line.height = this.state.pixiApp.screen.height);
19639
+ }
19637
19640
  updatePosition() {
19638
19641
  const t = this.getPositionX();
19639
19642
  this.position.set(t, 0);
@@ -19942,4 +19945,4 @@ export {
19942
19945
  Vb as f,
19943
19946
  zb as n
19944
19947
  };
19945
- //# sourceMappingURL=index-aba921f4.mjs.map
19948
+ //# sourceMappingURL=index-a201ce37.mjs.map