summaryrefslogtreecommitdiff
path: root/threads.js
diff options
context:
space:
mode:
authorCode WvS <code-wvs@quantentunnel.de>2015-03-25 10:36:30 +0100
committerCode WvS <code-wvs@quantentunnel.de>2015-03-25 10:36:30 +0100
commit2e32c1c93bbe40a2ddd57099a9f914418f96f926 (patch)
treed563a8a13c53db96253a0707ab3e9eada9803a9f /threads.js
parent1a264f231c92a8dfa86c8586d4e03e8c13d9fd6c (diff)
downloadsnap-yow-2e32c1c93bbe40a2ddd57099a9f914418f96f926.tar.gz
snap-yow-2e32c1c93bbe40a2ddd57099a9f914418f96f926.zip
move shape size calculation to core
Diffstat (limited to 'threads.js')
-rw-r--r--threads.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/threads.js b/threads.js
index 2817144..4aaf7b5 100644
--- a/threads.js
+++ b/threads.js
@@ -2535,6 +2535,8 @@ Process.prototype.reportAttributeOf = function (attribute, name) {
return thatObj.variables.getVar(attribute);
}
switch (this.inputOption(attribute)) {
+ case 'shape size':
+ return thatObj.shapeSize();
case 'x position':
return thatObj.xPosition ? thatObj.xPosition() : '';
case 'y position':