HeapsIO / hide

Heaps IDE
BSD 2-Clause "Simplified" License
539 stars 61 forks source link

Fixed premature input deletion #223

Open onehundredfeet opened 2 years ago

onehundredfeet commented 2 years ago

The JQuery results in openFile were being destroyed by this deleting the element before it could be used even though 200ms is a long time. It appears to just be needed for cleanup.

Speedphoenix commented 2 years ago

Since removing the .toString() on the getFile 2 lines below (ad1f63f) the focus event went from a few seconds on a large cdb to almost instant. Could you check if the increased time is still needed? As you mentioned 200ms is already a long time.

onehundredfeet commented 1 year ago

Sure. I'll take a look.