davidhatten / geometric-drawer

A little single-page javascript app to generate simple geometries and mandalas
0 stars 0 forks source link

Crash when reordering filled shapes #62

Closed davidhatten closed 6 years ago

davidhatten commented 6 years ago

1) Draw two shapes 2) On the top shape, enable Fill Shape 3) Reorder the filled shape to the bottom of the list 4) Delete the filled shape 5) Hover over the remaining shape in history

Not sure why this crash is happening, but it's big.

davidhatten commented 6 years ago

A correct history item configuration image

The bugged state. image

Something weird is going on with the connector not switching the contents of the history items until they're opened again.

davidhatten commented 6 years ago

I think this has to do with how the Popup and DragAndDrop elements are interacting. Popup is lazy loaded, but I don't know why it then works when it's in a bugged state but there are 2 items.

davidhatten commented 6 years ago

It's definitely the Popover, not the filling.

davidhatten commented 6 years ago

Fixed in 1.5.0