Skip to content
This repository has been archived by the owner on Mar 4, 2024. It is now read-only.

Commit

Permalink
fix: the connection preview follows the mouse
Browse files Browse the repository at this point in the history
  • Loading branch information
prescientmoon committed Jun 22, 2020
1 parent 6614c87 commit e0153cd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/Component/Login.purs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ component =
handleAction :: Action -> HalogenM Input Action ChildSlots o m Unit
handleAction = case _ of
HandleLoginForm fields -> do
print "im here"
loginUser fields
>>= case _ of
Left err -> void $ query F._formless unit $ injQuery $ SetLoginError (Just err) unit
Expand Down
2 changes: 1 addition & 1 deletion src/typescript/arcs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ export const placeInputs = <T extends { output: NodeId | null }>(

const connectedOverlapping = connected.map((input): T & IArc => {
const other = getData(input.output!)
const relative = sub2(null, other, position)
const relative = sub2([], other, position)
const angle = Math.atan2(-relative[0], relative[1])

return normalize({
Expand Down

0 comments on commit e0153cd

Please sign in to comment.