Merge pull request #1 from atom/as-select-above-first-row

Use component.measureDimensions()
This commit is contained in:
Jesse Grosjean
2015-04-02 13:29:47 -04:00

View File

@@ -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])