Don't reconstruct frame hierarchy after mouse scroll ;-)
Don't reconstruct frame hierarchy after mouse scroll ;-)


Index: pyglet/layout/view.py
===================================================================
--- pyglet/layout/view.py	(revision 477)
+++ pyglet/layout/view.py	(working copy)
@@ -50,6 +50,7 @@
         if self._require_reconstruct:
             self._root_frame = self.frame_builder.build_frame(self.document.root)
             self._root_frame.containing_block = self.initial_containing_block()
+            self._require_reconstruct = False
         if self._root_frame.flow_dirty:
             self._root_frame.flow()
             self._root_frame.resolve_bounding_box(0, 0)

--HG--
extra : convert_revision : svn%3A14d46d22-621c-0410-bb3d-6f67920f7d95/trunk%40478

infowantstobeseen/pyglet-darwincore,infowantstobeseen/pyglet-darwincore,infowantstobeseen/pyglet-darwincore,infowantstobeseen/pyglet-darwincore,infowantstobeseen/pyglet-darwincore