tweecode / twine

UI for creating hypertext stories
http://twinery.org
656 stars 97 forks source link

Paste Passage Here context menu incorrectly places new passage #164

Closed greyelf closed 10 years ago

greyelf commented 10 years ago

As reported on the twine forums, the "Paste Passage Here" context menu incorrectly places the new passage which is a result of the x,y position co-ords not being converted from Frame based to Logical. There is also a related issue of the new passage not being snapped to the screen grid.

This fix changed the pasteWidgets method to handle position and snapWidget the same way the newWidget method does.