Skip to content

Commit

Permalink
Add deprecation warning to BackgroundLayer
Browse files Browse the repository at this point in the history
  • Loading branch information
nvh committed Aug 1, 2016
1 parent 6e9d16c commit ca22880
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion framer/BackgroundLayer.coffee
Expand Up @@ -7,8 +7,8 @@ Todo: make it work in a parent layer
class exports.BackgroundLayer extends Layer

constructor: (options={}) ->

options.backgroundColor ?= "#fff"
console.warn "BackgroundLayer is deprecated, please use\n\nScreen.backgroundColor = \"#{options.backgroundColor}\"\n\ninstead."

super options

Expand Down

0 comments on commit ca22880

Please sign in to comment.