Skip to content
Permalink
Browse files

Add deprecation warning to BackgroundLayer

  • Loading branch information...
nvh committed Aug 1, 2016
1 parent 6e9d16c commit ca228809989d7c9ef98300a219ded0578a06ba28
Showing with 1 addition and 1 deletion.
  1. +1 −1 framer/BackgroundLayer.coffee
@@ -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

0 comments on commit ca22880

Please sign in to comment.
You can’t perform that action at this time.