mirror of
https://github.com/atom/atom.git
synced 2026-01-23 05:48:10 -05:00
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:
@@ -159,7 +159,7 @@ EditorComponent = React.createClass
|
||||
getDefaultProps: ->
|
||||
cursorBlinkPeriod: 800
|
||||
cursorBlinkResumeDelay: 100
|
||||
lineOverdrawMargin: 8
|
||||
lineOverdrawMargin: 15
|
||||
|
||||
componentWillMount: ->
|
||||
@pendingChanges = []
|
||||
|
||||
Reference in New Issue
Block a user