Acknowledged
over 1 year ago

code snippet typo for Symbol identifiers in Layers documentation

In connectiq-sdk-win-7.1.1-2024-04-17-66d0159ae/CoreTopics.html#layers the sample code seems to be in error for the Options dictionary

var backgroundLayer = new WatchUi.Layer({:x=>0, :y=>0, width=>240, height=>240});
...
var foregroundLayer = new WatchUi.Layer({:x=>10, :y=>10, width=>20, height=>20});
I believe width and height in both those examples should be :width and :height (they're missing the leading colon)