mirror of
https://github.com/KLayout/klayout.git
synced 2026-09-03 08:26:27 +02:00
Bugfix: instance selection cycling wasn't working
When instanced overlay, it wasn't possible to select the "other" instances. This is fixed. (reference: Trac 1015). In addition: - The instance selection now shows the label - Bugfix: the transient selection now really is disabled (it was popping up once after selection happened) - RBA::Marker#line_style has been added
This commit is contained in:
@@ -205,8 +205,6 @@ Editables::transient_select (const db::DPoint &pt)
|
||||
clear_previous_selection ();
|
||||
}
|
||||
|
||||
m_last_selected_point = db::DBox (pt, pt);
|
||||
|
||||
// in a first pass evaluate the point selection proximity value to select
|
||||
// those plugins that are active. This code is a copy of the code for the single-point selection below.
|
||||
|
||||
@@ -257,6 +255,8 @@ Editables::transient_select (const db::DPoint &pt)
|
||||
|
||||
}
|
||||
|
||||
m_last_selected_point = db::DBox (pt, pt);
|
||||
|
||||
// send a signal to the observers
|
||||
signal_transient_selection_changed ();
|
||||
}
|
||||
@@ -343,8 +343,6 @@ Editables::select (const db::DPoint &pt, lay::Editable::SelectionMode mode)
|
||||
clear_previous_selection ();
|
||||
}
|
||||
|
||||
m_last_selected_point = db::DBox (pt, pt);
|
||||
|
||||
cancel_edits ();
|
||||
clear_transient_selection ();
|
||||
|
||||
@@ -404,6 +402,8 @@ Editables::select (const db::DPoint &pt, lay::Editable::SelectionMode mode)
|
||||
}
|
||||
}
|
||||
|
||||
m_last_selected_point = db::DBox (pt, pt);
|
||||
|
||||
// send a signal to the observers
|
||||
signal_selection_changed ();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user