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.

problem with offset

See original GitHub issue

I’ve placed SRD with little offset and moving event now is broken. I’ve tried to fix it with this code, but it didn’t workout.

DiagramWodget:345
var relative = diagramEngine.getRelativePoint(event.pageX + diagramModel.getOffsetX(), event.pageY + diagramModel.getOffsetY()); //here
diagramModel.clearSelection();
this.startFiringAction(new MoveCanvasAction(relative.x, relative.y, diagramModel));

Give me a hint and I’ll fix it http://take.ms/61vkV

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
gen4spcommented, Apr 11, 2017

@dylanvorster perfect. Just exactly what I need. But I would say, group are more important. screen shot 2017-04-11 at 11 37 40

1reaction
dylanvorstercommented, Apr 10, 2017

also see that there is a new demo (demo 5). Im going to build this into a much larger demo that has droppable nodes (much like in my own program) as well as property viewers etc…

Read more comments on GitHub >

github_iconTop Results From Across the Web

The Problem with Carbon Offsets - Outside Online
Another concern is a concept called additionality. Experts say offset investments must be the catalyst for something that wasn't going to happen ...
Read more >
The biggest problem with carbon offsetting is that it doesn't ...
The big problem with offsets isn't that what they offer is bad – tree planting or renewable energy and efficiency for poor communities...
Read more >
Carbon offsets have serious issues. Is it even possible to fix ...
American Carbon Registry, the organization that verified the carbon credits, says that because there weren't previously logging restrictions in ...
Read more >
Concerns About Carbon Offset Quality
“Carbon offset credits do not represent valid GHG mitigation ; if they are used as a substitute for real climate action, they only...
Read more >
What is Wheel Offset? - Les Schwab
Problems From Too Much Negative Offset · Increased steering wheel kick-back · Additional stress on the entire suspension · Poor handling.
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