mirror of
https://github.com/atom/atom.git
synced 2026-01-24 06:18:03 -05:00
Don't store background for spec windows
This commit is contained in:
@@ -581,6 +581,8 @@ class Atom extends Model
|
||||
@state.windowDimensions = dimensions if @isValidDimensions(dimensions)
|
||||
|
||||
storeWindowBackground: ->
|
||||
return if @inSpecMode()
|
||||
|
||||
workspaceElement = @views?.getView(@workspace)
|
||||
backgroundColor = window.getComputedStyle(workspaceElement)['background-color']
|
||||
window.localStorage.setItem('atom:window-background-color', backgroundColor)
|
||||
|
||||
Reference in New Issue
Block a user