JForsaken / protosketcher-frontend

Protosketcher's frontend application.
0 stars 0 forks source link

Fix textboxes by putting back refs, but they work now #165

Closed jrainville closed 7 years ago

jrainville commented 7 years ago

To fix the bug Mr. McGuffin is expieriencing with textboxes, I had put back refs, so that way the textbox will always be exactly where the path is.

to fix the bug where the refs didn,t load on time for controls, I added shapeDidLoad(), which is called everytime a ref is added and when ALL of them are there, I set refsLoaded to true, re-rendering and adding controls. This re-render is only called once and is fast enough for users to not even know the controls weren't there at first.