Fixed Glamour wrong users of LayoutFrame fractions: (0@0 corner: 1@1) fixes

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Fixed Glamour wrong users of LayoutFrame fractions: (0@0 corner: 1@1) fixes

stepharo
Hi

I commited Glamour fixes for

     LayoutFrame fractions: (0@0 corner: 1@1))
         ->
     LayoutFrame identity

It is faster, produces less garbage and easier to read.

Now it would be good that Glamourers do the same cleans that I did with
Igor on complete Pharo.
Check all the uses of fractions: and fractions:offsets: and only use
those if you do not create
by yourself a rectangle.

In addition using rectangles for passing four digits is doomed to create
wrong and incorrect rectangles
so if you still need to use rectangle better use Margin.

A margin is a holder of 1,2 or 4 digits and it is not a rectangle.

Tell me if you need more precision.

Stef