]> git.sur5r.net Git - glabels/commit
Handle zoom-to-fit properly for unrealized view
authorJim Evins <evins@snaught.com>
Sat, 26 Dec 2009 17:34:00 +0000 (12:34 -0500)
committerJim Evins <evins@snaught.com>
Sat, 26 Dec 2009 17:34:00 +0000 (12:34 -0500)
commitb0fcb9d96c1719d1841294dc76f81893c600ace9
tree10561f0d8b135c1aeb646a4a9a2e5da9eedbe8cc
parent03609218a247efb40b71dc10827feff80c05dce2
Handle zoom-to-fit properly for unrealized view

Delay calculations in gl_view_zoom_to_fit() if window has not been realized
yet.  Do calculations in realize callback.
src/view.c