Autodesk-Forge / viewer-nodejs-tutorial

DEPRECATED, please visit our new Forge Learning material here:
https://learnforge.autodesk.io/#/
MIT License
52 stars 43 forks source link

markup3d function issue #14

Closed theextremeandy closed 6 years ago

theextremeandy commented 6 years ago

HI Jaime, I try to use your work. All works ok bat when I use the markup3d function the tooltip "Select new markup... " appears several centimeters at the top of the cursor, compromising the operation. Can you help me please? andrea

theextremeandy commented 6 years ago

Jaime, I beautify Viewing.Extension.Markup3D.min.js file I change the lines that set top and left coordinates of tooltip (at line 13858 approximately) from this: top: e.clientY - n.top - 30 + "px", left: e.clientX - n.left + "px" to this: top: e.clientY - n.top - 30, left: e.clientX - n.left and now it works! Thanks andrea

jaimerosales commented 6 years ago

Hey, Thanks a lot for this. if you want to minimize your new version and submit a pull request you are more than welcome. Thanks again for checking this! glad it worked for you.

theextremeandy commented 6 years ago

Hi, I created a request, I hope I did exactly the procedure. BR. andrea

jaimerosales commented 6 years ago

You did thanks mate! cheers.