Changeset 1554

Show
Ignore:
Timestamp:
07/02/07 12:09:36 (1 year ago)
Author:
wrobe..@pld-linux.org
Message:

- set both coordinates of movable handle when setting radius

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • gaphas/branches/hw/gaphas/examples.py

    r1553 r1554  
    127127 
    128128 
    129     def _set_radius(self, height): 
    130         h1, h2 = self._handles 
    131         h2.y = h1.y + height 
     129    def _set_radius(self, r): 
     130        h1, h2 = self._handles 
     131        h2.x = h1.x + r 
     132        h2.y = h1.y + r 
    132133 
    133134