Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
with
7 additions
and 14 deletions.
@@ -1,11 +1,4 @@ | ||
Framer.Device = new Framer.DeviceView() | ||
Framer.Device.setupContext() | ||
|
||
style = | ||
font: "20px/1em Menlo" | ||
|
||
layer = new Layer | ||
layer.backgroundColor = "rgba(255,0,0,.4)" | ||
layer.style = style | ||
layer.html = "Hello Koen Bok" | ||
|
||
layer.frame = Utils.textSize(layer.html, style, {width:100}) | ||
print layer.frame | ||
Framer.Device.deviceType = "ipad-air-spacegray" |