I’m using Corona build 2014.2155 and when I try to use the current widget framework from Github I’m getting this error message:
Runtime error ?:0: attempt to perform arithmetic on field '\_oldAnchorX' (a nil value) stack traceback: ?: in function '\_calculatePosition' ?: in function \<?:1457\> (tail call): ? /Users/jay/Library/Application Support/Outlaw/Sandbox/590/widgetLibrary/widget.lua:135: in function \</Users/jay/Library/Application Support/Outlaw/Sandbox/590/widgetLibrary/widget.lua:122\> (tail call): ? /Users/jay/Library/Application Support/Outlaw/Sandbox/590/main.lua:163: in function 'setUpDisplay' /Users/jay/Library/Application Support/Outlaw/Sandbox/590/main.lua:216: in main chunk
If I switch to using the internal widget library the error doesn’t happen.
Is that a known problem? If so, is there a fix scheduled for the widget library on github?
Not sure how feasible it would be, but maybe you guys (Corona Labs) could link to the github library for your builds? That way it would be kept up-to-date automatically.
Jay