question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Orientation.VerticalReverse renders incorrectly

See original GitHub issue

In the reverse vertical orientation, the dark blue release branch lies over the develop branch in the following screenshot:

screenshot

However, in the standard orientation, the dark blue release branch is correctly routed so that it doesn’t overlap the develop branch:

screenshot-1

This is the code I’m using:

      {(gitgraph) => {
        const develop = gitgraph.branch("develop").commit();
        const feature1 = gitgraph.branch("feature1").commit();
        develop.merge(feature1);
        const fix = gitgraph.branch("feature3");
        const release = gitgraph.branch("release1");
        const feature2 = gitgraph.branch("feature2");
        feature2.commit();
        develop.merge(feature2);
        fix.commit();
        release.merge(fix);
        develop.merge(fix);
      }}

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:2
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
lhassiscommented, Dec 1, 2020

Hi everyone! I managed to solve the problem on my example by changing the first if on the smoothBranchesPaths function to check if length is less or equal than 2. The result is show in the image below image

So far, it was enough to my application but I’m not sure if this is the deffinitive solution, since I don’t know the component code details well enough.

0reactions
nicoespeoncommented, Feb 19, 2022

Not that I’m aware of 🙂

To be clear: I’m not working/maintaining this lib anymore. The issue is still open to be solved with the provided details.

Read more comments on GitHub >

github_iconTop Results From Across the Web

What is the best method of re-rendering a web page on ...
I have a which is 100% width, with a right aligned background image. When I change the orientation from portrait to landscape the...
Read more >
Orbit tool is inverse, just vertical. : r/Cinema4D - Reddit
I will be using C4D like normal and just my orbit tool will inverse, but just the vertical direction. Not the horizontal.
Read more >
How to Fix a Rotated Screen: 9 Steps (with Pictures) - wikiHow
1. Rotate your device or monitor if it is equipped with a rotation sensor. If your device is a tablet, 2-in-1 PC, or...
Read more >
flex-direction - CSS: Cascading Style Sheets - MDN Web Docs
row-reverse. Behaves the same as row but the main-start and main-end points are opposite to the content direction.
Read more >
The direction is wrong when drawing the line, how to solve the ...
If you encounter the situation of "drawing a vertical line horizontally" or "drawing a circle to become an ellipse" during use, it means...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found