marijnh/CodeMirror — pull request #2574 by minrk (2014-05-22 19:14:26+00:00)
Title: don’t draw scrollbars for one pixel

Sometimes `scrollHeight == measure.clientHeight + 1`, when there should be no scrollbar. This results in CodeMirror drawing incorrect scrollbars over text.

closes #2562

verified fix on Chrome 35 (zoom), 36 (no zoom), 37 (zoom).