From 404ee401602ca741a73d6ac9de4da7d85278f80c Mon Sep 17 00:00:00 2001 From: Devine Lu Linvega Date: Thu, 17 Nov 2016 13:19:32 -0800 Subject: [PATCH] Fied issue with the guide's hint message. --- README.md | 8 +++++++- scripts/modules/overlay.js | 1 + 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b56edd5..74c396b 100644 --- a/README.md +++ b/README.md @@ -84,7 +84,13 @@ $ ! ; Clear temporary storage 45' ; degree: 45/365 rate:10 ; variable: rate = 10 "foo" ; string: foo -{40w} ; dynamic: 120px, 40% canvas width +{40w} ; constant: 120px, 40% canvas width +``` + +#Constants +``` +w ; percentage of canvas width +h ; percentage of canvas height ``` #Presets diff --git a/scripts/modules/overlay.js b/scripts/modules/overlay.js index f3f02f4..91ce5d2 100644 --- a/scripts/modules/overlay.js +++ b/scripts/modules/overlay.js @@ -2,6 +2,7 @@ function Overlay(element) { Module.call(this); + this.parameters = [Position,Rect]; this.element = element; // Module