diff --git a/public/index.html b/public/index.html index aa63cf6..068263d 100644 --- a/public/index.html +++ b/public/index.html @@ -55,6 +55,57 @@
+ Tell me, O muse, of that ingenious hero who travelled far and wide after he had sacked + the famous town of Troy. Many cities did he visit, and many were the nations with whose manners and customs + he was acquainted; moreover he suffered much by sea while trying to save his own life and bring his men safely + home; but do what he might he could not save his men, for they perished through their own sheer folly in eating + the cattle of the Sun-god Hyperion; so the god prevented them from ever reaching home. Tell me, too, about all + these things, O daughter of Jove, from whatsoever source you may know them. +
++ So now all who escaped death in battle or by shipwreck had got safely home except Ulysses, + and he, though he was longing to return to his wife and country, was detained by the goddess Calypso, who + had got him into a large cave and wanted to marry him. But as years went by, there came a time when the gods + settled that he should go back to Ithaca; even then, however, when he was among his own people, his troubles + were not yet over; nevertheless all the gods had now begun to pity him except Neptune, who still persecuted + him without ceasing and would not let him get home. +
+ ++ Tell me, O muse, of that ingenious hero who travelled far and wide after he had sacked + the famous town of Troy. Many cities did he visit, and many were the nations with whose manners and customs + he was acquainted; moreover he suffered much by sea while trying to save his own life and bring his men safely + home; but do what he might he could not save his men, for they perished through their own sheer folly in eating + the cattle of the Sun-god Hyperion; so the god prevented them from ever reaching home. Tell me, too, about all + these things, O daughter of Jove, from whatsoever source you may know them. +
++ So now all who escaped death in battle or by shipwreck had got safely home except Ulysses, + and he, though he was longing to return to his wife and country, was detained by the goddess Calypso, who + had got him into a large cave and wanted to marry him. But as years went by, there came a time when the gods + settled that he should go back to Ithaca; even then, however, when he was among his own people, his troubles + were not yet over; nevertheless all the gods had now begun to pity him except Neptune, who still persecuted + him without ceasing and would not let him get home. +
+ ++ Tell me, O muse, of that ingenious hero who travelled far and wide after he had sacked + the famous town of Troy. Many cities did he visit, and many were the nations with whose manners and customs + he was acquainted; moreover he suffered much by sea while trying to save his own life and bring his men safely + home; but do what he might he could not save his men, for they perished through their own sheer folly in eating + the cattle of the Sun-god Hyperion; so the god prevented them from ever reaching home. Tell me, too, about all + these things, O daughter of Jove, from whatsoever source you may know them. +
++ So now all who escaped death in battle or by shipwreck had got safely home except Ulysses, + and he, though he was longing to return to his wife and country, was detained by the goddess Calypso, who + had got him into a large cave and wanted to marry him. But as years went by, there came a time when the gods + settled that he should go back to Ithaca; even then, however, when he was among his own people, his troubles + were not yet over; nevertheless all the gods had now begun to pity him except Neptune, who still persecuted + him without ceasing and would not let him get home. +
diff --git a/src/relations/drawing/DrawingTool.js b/src/relations/drawing/DrawingTool.js index c943783..9dda1af 100644 --- a/src/relations/drawing/DrawingTool.js +++ b/src/relations/drawing/DrawingTool.js @@ -73,7 +73,7 @@ export default class DrawingTool extends EventEmitter { this.currentConnection.dragTo(this.currentHover.node); } else { const { top, left } = this.contentEl.getBoundingClientRect(); - this.currentConnection.dragTo([ evt.pageX - left, evt.pageY - top ]); + this.currentConnection.dragTo([ evt.clientX - left, evt.clientY - top]); } } }