Repository navigation
OMT Mini 0.8.4
Four fixes to the control panel.
The page could stop updating altogether
A single exception anywhere in a poll ended polling for the life of the page, because the next tick was only booked after the previous one returned.
That is the real reason a closed window stayed on the page: the panel had simply stopped looking. The next tick is now booked whatever happened.
Double click did nothing
A redraw was landing between the two halves of the click and replacing the element the second one was aimed at, so it hit nothing.
Interaction now holds redraws off for a moment, and a click that moved nothing no longer triggers a poll at all, which was the redraw eating it.
Closing leaves the page immediately
The window disappears from the panel as soon as you press the cross, rather than waiting for the machine to get round to it.
No more jump when you drop a window
Dropping in a new position flicked back and forth, because the page redrew from the last state it had before the machine had moved anything.
Where you put a window is now held until the machine reports the same thing, so the drop just lands.
Also
Added a minimise button on each window. Maximise was reachable by double click, but minimise was not reachable at all.