From f8e2231dfccaae4381d518768d53674569a8b00a Mon Sep 17 00:00:00 2001 From: Nathan Sobo Date: Mon, 28 Jul 2014 21:57:06 -0600 Subject: [PATCH] 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. --- src/editor-component.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/editor-component.coffee b/src/editor-component.coffee index fd01764de..577c9db0d 100644 --- a/src/editor-component.coffee +++ b/src/editor-component.coffee @@ -159,7 +159,7 @@ EditorComponent = React.createClass getDefaultProps: -> cursorBlinkPeriod: 800 cursorBlinkResumeDelay: 100 - lineOverdrawMargin: 8 + lineOverdrawMargin: 15 componentWillMount: -> @pendingChanges = []