Changeset 9377:6bd96266e95e in orange


Ignore:
Timestamp:
12/16/11 17:19:32 (2 years ago)
Author:
miha <miha.stajdohar@…>
Branch:
default
Convert:
333113a5345e028d9c6a64fd95243b92cc85372b
Message:

Update label coordinate.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • source/orangeqt/point.h

    r9361 r9377  
    187187  void operator()(Point* point) 
    188188  { 
    189     point->setPos(t.map(QPointF(point->coordinates().x, point->coordinates().y))); 
     189    QPointF p = t.map(QPointF(point->coordinates().x, point->coordinates().y)); 
     190    point->setPos(p); 
     191    if (point->label) 
     192    { 
     193        point->label->setPos(p); 
     194    } 
    190195  } 
    191196   
Note: See TracChangeset for help on using the changeset viewer.