Re: zoom for HTML5 tool file is weak compared to program zoom

by Puybaret » Wed Mar 14, 2018 9:26 am

It's great that you could achieve it by yourself [:)]
As you finally found out, [font=courier new]setSelectedItems[/font] method takes an array of objects (furniture, walls or other objects stored in a Home instance) and not an array of numbers or quoted numbers.
How can I tell when the "Home" is loaded?
The home loading process can be tracked in the [font=courier new]onprogression[/font] callback. Just change the existing callback in the condition [font=courier new]part === HomeRecorder.READING_HOME[/font]. Doing so will be much safer than programming a timer with a delay that may vary with bandwidth and CPU power.

Thanks for the donation [:)]