This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
*/
|
||||
package ch.psi.mxsc;
|
||||
|
||||
import ch.psi.mxsc.BasePlate.SelectionMode;
|
||||
import ch.psi.pshell.device.Device;
|
||||
import ch.psi.pshell.device.DeviceBase;
|
||||
import ch.psi.pshell.imaging.DimensionDouble;
|
||||
@@ -284,7 +285,7 @@ public class Puck extends DeviceBase {
|
||||
private boolean selected;
|
||||
|
||||
public boolean isSelected() {
|
||||
return selected && getBasePlate().isSelectable();
|
||||
return selected && (getBasePlate().getSelectionMode()!=SelectionMode.None);
|
||||
}
|
||||
|
||||
public void toggleSelected(boolean value) {
|
||||
|
||||
Reference in New Issue
Block a user