Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Added forceHideBezel() to Device
- Loading branch information
Showing
with
6 additions
and
1 deletion.
-
+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 |
|
|
|
|
|