Implement path selection
This commit is contained in:
1 parent
23c96b9397
commit
6e49693db4
16 files changed
+132
-32
No files matched your search
@@ -81,7 +81,7 @@ namespace PamhagenSysCtrl.Helpers.Pipeline {
|
||||
canvas.Children.Add(_rect);
|
||||
}
|
||||
|
||||
public bool Update(double x, double y) {
|
||||
public bool Update(double x, double y, bool down) {
|
||||
var hover = Math.Abs(x - CenterX) <= SIZE / 2 && Math.Abs(y - CenterY) <= SIZE / 2;
|
||||
_rect?.Stroke = hover ? Brushes.Black : Brushes.Black;
|
||||
return hover;
|
||||
|
||||
Reference in new issue
Block a user