Skip to content

Helperline Feature - deactivate edge helper lines and only activate center helper lines #1250

Answered by martin-fleck-at
rsoika asked this question in Q&A
Discussion options

You must be logged in to vote

Yeah, showing all lines may be overkill for certain use cases, so we made the helper line types configurable through the IHelperLineOptions. You probably need something like this.

container.bind<IHelperLineOptions>(TYPES.IHelperLineOptions).toConstantValue({
    elementLines: [HelperLineType.Center, HelperLineType.Middle], // only show center and middle lines
    viewportLines: [] // do not show alignment lines for viewport
  });

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@rsoika
Comment options

Answer selected by rsoika
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants