Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error after switching from the node graph to map view #53

Open
MyIgel opened this issue Oct 5, 2023 · 0 comments
Open

Error after switching from the node graph to map view #53

MyIgel opened this issue Oct 5, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@MyIgel
Copy link
Member

MyIgel commented Oct 5, 2023

After switchong from the node graph http://localhost:8080/#!/en/graph/9cc7a67853ea back to the map view (or fast switching between them) i get a

Uncaught TypeError: u is null
    Y index-592e0aaf.js:17419
    y index-592e0aaf.js:17421
    setTimeout handler*Y index-592e0aaf.js:17420
    y index-592e0aaf.js:17421
    setTimeout handler*Y index-592e0aaf.js:17420
    y index-592e0aaf.js:17421
    setTimeout handler*Y index-592e0aaf.js:17420
    y index-592e0aaf.js:17421
    setTimeout handler*Y index-592e0aaf.js:17420
    y index-592e0aaf.js:17421
    setTimeout handler*Y index-592e0aaf.js:17420
    gotoNode index-592e0aaf.js:17594
    f index-592e0aaf.js:12766
    f index-592e0aaf.js:12765
    w index-592e0aaf.js:12800
    resolve index-592e0aaf.js:12539
    Dn index-592e0aaf.js:12433
    resolve index-592e0aaf.js:12538
    Dn index-592e0aaf.js:12433
    resolve index-592e0aaf.js:12535
    _onLocationChange index-592e0aaf.js:12732
    _listen index-592e0aaf.js:12711
    qt index-592e0aaf.js:12313
    gg index-592e0aaf.js:12814
    p1 index-592e0aaf.js:22913
    m1 index-592e0aaf.js:22961
    _1 index-592e0aaf.js:22963
    sd index-592e0aaf.js:1
    <anonymous> index-592e0aaf.js:22966

in if (clearTimeout(y), !st && u.alpha() > 0.3) { of

I = 3,
      T = 0.01;
      Ht.setTransform(f);
      function z() {
        a.width = o.offsetWidth,
        a.height = o.offsetHeight,
        Ht.setMaxArea(a.width, a.height)
      }
      function F(q) {
        f.x = q.x,
        f.y = q.y,
        f.k = q.k
      }
      function Y(q, st) {
        if (clearTimeout(y), !st && u.alpha() > 0.3) {
          y = setTimeout(function () {
            Y(q)
          }, 300);
          return
        }
        var A = q(),
        $ = A[0],
        E = A[1],
        O = A[2],
        D = {
          k: O
        };
        D.x = (a.width + e.getWidth()) / 2 - $ * O,
        D.y = a.height / 2 - E * O;
        var W = {
          x: f.x,
          y: f.y,
          k: f.k
        },
        R = Rh(W, D),
        G = po(
          function (K) {
            if (K >= b) {
              G.stop();
              return
            }
            var et = R(zy(K / b));
            F(et),
            window.requestAnimationFrame(U)
          }
        )
      }
      function X(q) {

Originally posted by @MyIgel in #46 (comment)

@MyIgel MyIgel added the bug Something isn't working label Oct 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant