mirror of
https://github.com/laurent22/joplin.git
synced 2024-11-30 08:26:59 +02:00
7a9ec627ee
* Fire resize event whenever the layout changes This solves an issue where the markdown editor was changing size physically, but the refresh function wasn't being called so the editor would lose track of it's size and place the cursor wrongly. The editor was able to correctly resize when the window resize event was fired, but this didn't happen when the sidebars were toggled. The solution implemented here is to hook in to the function where layout props are changed, and emit a resize event there. This means that anytime the layout changes (whether or not it affects sizing), the resize event will be fired. |
||
---|---|---|
.. | ||
app-cli | ||
app-clipper | ||
app-desktop | ||
app-mobile | ||
fork-htmlparser2 | ||
fork-sax | ||
generator-joplin | ||
lib | ||
plugin-repo-cli | ||
plugins | ||
renderer | ||
server | ||
tools | ||
turndown | ||
turndown-plugin-gfm | ||
style.min.css |