[BUG][FIX]Omnibrowser button bar

Karl karl.ramberg at comhem.se
Fri Sep 7 20:37:24 UTC 2007


Here is a little fix for Omnibrowser that prevent huge screen redraw 
when swiching from pane to pane in the browser. There is a subtle bug in 
Morph>>addMorph: that sometimes causes the added morph to be added at 
World top left corner. The easy fix is to give a position to the morph 
to avoid screen damage.

This fix will be a candidate for the 3.10 image.

Karl
-------------- next part --------------
'From Squeak3.10alpha of 30 March 2007 [latest update: #7119] on 7 September 2007 at 10:19:53 pm'!

!OBButtonBar methodsFor: 'updating' stamp: 'kfr 9/7/2007 22:19'!
addButtonFor: aCommand
	self addMorphBack: ((self buttonFor: aCommand)position: self position)! !


More information about the Squeak-dev mailing list