Increase overdraw margin to avoid intermittent full screen repaints

On Chromium 35, the screen seems to be full-screen painting on a Cinema
Display every few frames, causing frame rates to drop from 60 to 30 when
autoscrolling with the cursor. Increasing the overdraw avoids this.
This commit is contained in:
Nathan Sobo
2014-07-28 21:57:06 -06:00
parent 837eaccd16
commit f8e2231dfc

View File

@@ -159,7 +159,7 @@ EditorComponent = React.createClass
getDefaultProps: ->
cursorBlinkPeriod: 800
cursorBlinkResumeDelay: 100
lineOverdrawMargin: 8
lineOverdrawMargin: 15
componentWillMount: ->
@pendingChanges = []