I agree what the gallery is doing is not very clean.
However, with this update:
25 - width: parentNode ? parentNode.width : undefined
26 + width: parentNode ? parentNode.width - page.x : undefined
I no longer need to update the gallery.
Also, a unit test and documentation in Page.qdoc were added.
I agree what the gallery is doing is not very clean.
However, with this update:
25 - width: parentNode ? parentNode.width : undefined
26 + width: parentNode ? parentNode.width - page.x : undefined
I no longer need to update the gallery.
Also, a unit test and documentation in Page.qdoc were added.