* ./hurricane/src/hviewer :
- Bug: In CellWidget, the drawRulers was copying an enlarged redrawArea into the Selection Plane causing the selection to deseapear gradually when slowly shifting.
This commit is contained in:
parent
609772dcc3
commit
e0c9f0ba3f
|
@ -60,8 +60,6 @@ typedef multimap<Entity*,Entity*> SlaveEntityMap;
|
|||
class Cell : public Entity {
|
||||
// ***********************
|
||||
|
||||
# if !defined(__DOXYGEN_PROCESSOR__)
|
||||
|
||||
// Types
|
||||
// *****
|
||||
|
||||
|
@ -212,8 +210,6 @@ class Cell : public Entity {
|
|||
public: void _insertSlice ( ExtensionSlice* );
|
||||
public: void _removeSlice ( ExtensionSlice* );
|
||||
|
||||
#endif
|
||||
|
||||
// Constructors
|
||||
// ************
|
||||
|
||||
|
|
|
@ -266,7 +266,7 @@ namespace Hurricane {
|
|||
connect ( _controllerAction , SIGNAL(triggered()) , this , SLOT(showController()) );
|
||||
|
||||
connect ( _cellWidget , SIGNAL(mousePositionChanged(const Point&))
|
||||
, _mousePosition , SLOT(setPosition(const Point&)) );
|
||||
, _mousePosition , SLOT (setPosition(const Point&)) );
|
||||
|
||||
connect ( _cellWidget , SIGNAL(selectionModeChanged())
|
||||
, this , SLOT (changeSelectionMode ()) );
|
||||
|
|
|
@ -1603,6 +1603,7 @@ namespace Hurricane {
|
|||
|
||||
redrawArea.adjust ( -50, -50, 50, 50 );
|
||||
Box redrawBox = displayToDbuBox ( redrawArea );
|
||||
redrawArea.adjust ( 50, 50, -50, -50 );
|
||||
|
||||
RulerSet::iterator iruler = _state->getRulers().begin();
|
||||
RulerSet::iterator end = _state->getRulers().end();
|
||||
|
|
|
@ -1223,6 +1223,7 @@ namespace Hurricane {
|
|||
inline void CellWidget::setRubberShape ( RubberShape shape )
|
||||
{
|
||||
_state->setRubberShape ( shape );
|
||||
_redrawManager.refresh ();
|
||||
emit queryFilterChanged ();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue