Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Understanding resizing and positioning Reply To: Understanding resizing and positioning

#240239
Shikkediel
Participant

Taking it out altogether (it’s not maintained anymore) would be quite a task but this will disable it for creating the box sizes :

var w = maxWidth * (0.2 + 0.3 * Math.random());

Instead of :

var w = s == null ? maxWidth * (0.2 + 0.3 * Math.random()) : s;