Changeset 95 for trunk

Show
Ignore:
Timestamp:
09/12/08 01:27:52 (4 years ago)
Author:
lgs
Message:

Improve readability by changing the order of a sum. Patch by Nicolas Evrard

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/bar.py

    r94 r95  
    6060 
    6161            # gather bar proportions 
    62             x = self.area.w * bar.x + self.area.x 
    63             y = self.area.h * bar.y + self.area.y 
     62            x = self.area.x + self.area.w * bar.x 
     63            y = self.area.y + self.area.h * bar.y 
    6464            w = self.area.w * bar.w 
    6565            h = self.area.h * bar.h