Changeset 8708:f231b267cc27 in orange


Ignore:
Timestamp:
08/14/11 16:35:55 (3 years ago)
Author:
Noughmad <Noughmad@…>
Branch:
default
Convert:
eb64892e3430b3cd31e3391cefbb301e8f2c5c2e
Message:

Fix zoom-to-rectangle when already zoomed in

File:
1 edited

Legend:

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

    r8699 r8708  
    11291129            rect = self._current_rs_item.rect() 
    11301130            if a == ZOOMING: 
    1131                 self.zoom_to_rect(rect) 
     1131                self.zoom_to_rect(self.zoom_transform.inverted()[0].mapRect(rect)) 
    11321132            else: 
    11331133                self.add_selection(rect) 
Note: See TracChangeset for help on using the changeset viewer.