]> git.neil.brown.name Git - edlib.git/commit
imageview: don't measure image until first refresh.
authorNeilBrown <neil@brown.name>
Fri, 6 Oct 2023 21:24:35 +0000 (08:24 +1100)
committerNeilBrown <neil@brown.name>
Fri, 6 Oct 2023 21:24:35 +0000 (08:24 +1100)
commitc98310e78e8ea28c11c57032aea9e3198e44a22a
treeb82c1fc519114a0b9c2968359ef09de5fc32e055
parent08a72d0844a5184dccc0212b47c2137319e61322
imageview: don't measure image until first refresh.

The image might not be ready until the first refresh.  e.g.  some later
pane might have an effect.
So measure on the first refresh.
Also allow the image source to be set with a pane attribute, or to fall
back to an obvious defailt.

Signed-off-by: NeilBrown <neil@brown.name>
render-imageview.c