mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 11:56:30 +00:00
UI - Replaced tuples with custom classes for binding
As far as i know, it's not possible to have CompiledBindings with tuples, since tuple values are fields and not properties. This change allows for compiled bindings, and makes the intent behind the tuples clearer
This commit is contained in:
1 parent
59f9479d9a
commit
5429346396
9 files changed
+120
-45
No files matched your search
@@ -10,7 +10,7 @@ public partial class InputPinView : PinView
|
||||
public InputPinView()
|
||||
{
|
||||
InitializeComponent();
|
||||
InitializePin(this.Get<Border>("PinPoint"));
|
||||
InitializePin(PinPoint);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@ public partial class OutputPinView : PinView
|
||||
public OutputPinView()
|
||||
{
|
||||
InitializeComponent();
|
||||
InitializePin(this.Get<Border>("PinPoint"));
|
||||
InitializePin(PinPoint);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user