@@ -841,7 +841,7 @@ RedrawThreadWorker::draw_boxes_impl (bool drawing_context, db::cell_index_type c
841841 // paint the box on this level
842842 draw_cell (drawing_context, level, trans, bbox, empty_cell, mp_layout->display_name (ci));
843843
844- } else if (! for_ghosts && (level == m_to_level || (m_cv_index < int (m_hidden_cells.size ()) && m_hidden_cells [m_cv_index].find (ci) != m_hidden_cells [m_cv_index].end ()))) {
844+ } else if (! for_ghosts && ! cell. is_ghost_cell () && (level == m_to_level || (m_cv_index < int (m_hidden_cells.size ()) && m_hidden_cells [m_cv_index].find (ci) != m_hidden_cells [m_cv_index].end ()))) {
845845
846846 // paint the box on this level
847847 draw_cell (drawing_context, level, trans, bbox, empty_cell, mp_layout->display_name (ci));
@@ -1003,7 +1003,7 @@ RedrawThreadWorker::draw_box_properties (bool drawing_context, db::cell_index_ty
10031003void
10041004RedrawThreadWorker::draw_box_properties_for_ghosts (bool drawing_context, db::cell_index_type ci, const db::CplxTrans &trans, const std::vector<db::Box> &vp, int level)
10051005{
1006- draw_box_properties_impl (drawing_context, ci, trans, vp, level, false );
1006+ draw_box_properties_impl (drawing_context, ci, trans, vp, level, true );
10071007}
10081008
10091009void
@@ -1057,7 +1057,7 @@ RedrawThreadWorker::draw_box_properties_impl (bool drawing_context, db::cell_ind
10571057 // paint the box on this level
10581058 draw_cell_properties (drawing_context, level, trans, bbox, prop_id);
10591059
1060- } else if (! for_ghosts && (level == m_to_level || (m_cv_index < int (m_hidden_cells.size ()) && m_hidden_cells [m_cv_index].find (ci) != m_hidden_cells [m_cv_index].end ()))) {
1060+ } else if (! for_ghosts && ! cell. is_ghost_cell () && (level == m_to_level || (m_cv_index < int (m_hidden_cells.size ()) && m_hidden_cells [m_cv_index].find (ci) != m_hidden_cells [m_cv_index].end ()))) {
10611061
10621062 // paint the box on this level
10631063 draw_cell_properties (drawing_context, level, trans, bbox, prop_id);
0 commit comments