Changeset 8191:99bbcebd7b49 in orange


Ignore:
Timestamp:
08/17/11 09:30:03 (3 years ago)
Author:
anze <anze.staric@…>
Branch:
default
Convert:
40e9d9d29f8465e4cc3831a45f1bce09b69147e4
Message:

Fixed zoom.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orange/OrangeWidgets/plot/owplot.py

    r8187 r8191  
    11191119                text = self.buildTooltip(text) 
    11201120            if text and x is not None and y is not None: 
    1121                 tp = self.mapFromScene(QPointF(x,y) * self.map_transform * self.zoom_transform) 
     1121                tp = self.mapFromScene(QPointF(x,y) * self.map_transform * self.zoom_transform()) 
    11221122                self.showTip(tp.x(), tp.y(), text) 
    11231123            else: 
     
    15611561         
    15621562    def zoom(self, point, scale): 
    1563         t, ok = self.zoom_transform.inverted() 
     1563        t, ok = self.zoom_transform().inverted() 
    15641564        point = point * t 
    15651565        r = QRectF(self.zoom_rect) 
Note: See TracChangeset for help on using the changeset viewer.