mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-11-11 04:48:44 +03:00
405a918280
When the font size changes and the editor is detached, it schedules itself to be redrawn the next time we're reattached rather than updating the display in a detached state. Detached display updates worked in the past because we didn't need to be on the DOM to determine horizontal and vertical positions once we had calculated dimensions once. So it worked to temporarily attach the editor when calculating new dimensions, and then continue updates even when it was detached. That now breaks because we can't ask for pixel positions if we aren't on the DOM. |
||
---|---|---|
.. | ||
app | ||
fixtures | ||
stdlib | ||
atom-reporter.coffee | ||
spec-bootstrap.coffee | ||
spec-helper.coffee | ||
spec-suite.coffee | ||
time-reporter.coffee |