Gutter line numbers provide incorrect height calculation when editor is transform: rotate(ndeg) #52
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This may be a weird issue, but I was just playing with the editor on the demo page and after adding the style
.CodeMirror { transform: rotate(15deg); }through Chrome dev tools, the gutter line height calculations broke.I was thinking about this while thinking about how I could prototype a system like this projected editor I found while researching Dynamicland
The way transforms interact with how the browser reports element sizes makes it really hard to measure elements in such a situation. Transformed editors are probably something we won't be able to support.
Makes sense! Thanks