Permalink
Browse files

Added forceHideBezel() to Device

  • Loading branch information...
nvh committed Apr 25, 2018
1 parent 9d4b6cd commit c0cad18b2d70280fd33f87b06dd61ec4e216be29
Showing with 6 additions and 1 deletion.
  1. +6 −1 framer/Components/DeviceComponent.coffee
@@ -432,13 +432,18 @@ class exports.DeviceComponent extends BaseClass
@define "hideBezel",
get: ->
return false if not Utils.isFramerStudio()
return true if @_forceHideBezel
return false if not Utils.isFramerStudio() and @_forceHide
return (@_hideBezel ? false)
set: (hideBezel) ->
return if not Utils.isFramerStudio()
@_hideBezel = hideBezel
@_update()
forceHideBezel: (forceHide = true) =>
@_forceHideBezel = forceHide
@_update()
###########################################################################
# DEVICE ZOOM

0 comments on commit c0cad18

Please sign in to comment.