Permalink
Browse files

Added prepareForSnapshot to device

  • Loading branch information...
nvh committed Nov 15, 2017
1 parent 8d833db commit f5a45eef1574b0fbe370d918ac479287fbdfac79
Showing with 7 additions and 0 deletions.
  1. +7 −0 framer/Components/DeviceComponent.coffee
@@ -712,6 +712,13 @@ class exports.DeviceComponent extends BaseClass
toInspect: ->
return "<Device '#{@deviceType}' #{@screenSize.width}x#{@screenSize.height}>"
prepareForSnapshot: ->
@hideBezel = true
@setDeviceScale(-1, true)
@screenMask.visible = false
@screenBackground.visible = false
@background.backgroundColor = null
###########################################################################
# DEVICE CONFIGURATIONS

0 comments on commit f5a45ee

Please sign in to comment.