This repository was archived by the owner on Dec 15, 2022. It is now read-only.
Commit 89787fc
Antonio Scandurra
Fix broken editor rendering after changing font size on guest portals
When editor styles change, Atom notifies only editor components that are
attached to the DOM at the moment of the change. Thus, if the element we
are about to add had already been rendered, we will preemptively clear
all its styling information to ensure it will render correctly even if
some styles changed while it was not attached to the DOM.1 parent 2666382 commit 89787fc
1 file changed
+14
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
155 | 155 | | |
156 | 156 | | |
157 | 157 | | |
| 158 | + | |
| 159 | + | |
158 | 160 | | |
159 | 161 | | |
160 | 162 | | |
| |||
170 | 172 | | |
171 | 173 | | |
172 | 174 | | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
173 | 187 | | |
174 | 188 | | |
175 | 189 | | |
| |||
0 commit comments