Add Übernahme-Trog
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
using PamhagenSysCtrl.Helpers.Pipeline;
|
||||
using System.Windows;
|
||||
using System.Windows.Input;
|
||||
using System.Windows.Media;
|
||||
|
||||
namespace PamhagenSysCtrl.Windows {
|
||||
public partial class PlantSchemeWindow : Window {
|
||||
@@ -58,6 +57,11 @@ namespace PamhagenSysCtrl.Windows {
|
||||
} else {
|
||||
_lastSource = null;
|
||||
}
|
||||
if (c is EntryTrough trough) {
|
||||
trough.IsActive = !trough.IsActive;
|
||||
} else if (c is Rebler rebler) {
|
||||
rebler.IsActive = !rebler.IsActive;
|
||||
}
|
||||
}
|
||||
UpdateScheme(pos, evt.LeftButton == MouseButtonState.Pressed);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user