mirror of
https://github.com/atom/atom.git
synced 2026-01-23 13:58:08 -05:00
✅ Use component.measureDimensions()
This commit is contained in:
@@ -1426,7 +1426,7 @@ describe "TextEditorComponent", ->
|
||||
height = 4.5 * lineHeightInPixels
|
||||
wrapperNode.style.height = height + 'px'
|
||||
wrapperNode.style.width = 10 * charWidth + 'px'
|
||||
component.measureHeightAndWidth()
|
||||
component.measureDimensions()
|
||||
nextAnimationFrame()
|
||||
|
||||
coordinates = clientCoordinatesForScreenPosition([0, 2])
|
||||
|
||||
Reference in New Issue
Block a user