changed function node ui so that user is able to differentiate
Some checks failed
Build / build (push) Has been cancelled
Some checks failed
Build / build (push) Has been cancelled
This commit is contained in:
@@ -435,12 +435,29 @@
|
||||
</DataTemplate>
|
||||
|
||||
<DataTemplate DataType="{x:Type local:FunctionOperationViewModel}">
|
||||
<nodify:Node Header="{Binding Title}"
|
||||
Input="{Binding Input}"
|
||||
<nodify:Node Input="{Binding Input}"
|
||||
Output="{Binding Output}"
|
||||
ToolTip="Double click to edit function"
|
||||
BorderBrush="#FF9800"
|
||||
BorderThickness="2">
|
||||
<nodify:Node.Header>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="ƒ"
|
||||
FontSize="16"
|
||||
FontWeight="Bold"
|
||||
Foreground="#FF9800"
|
||||
VerticalAlignment="Center"
|
||||
Margin="0 0 6 0" />
|
||||
<TextBlock Text="{Binding Title}"
|
||||
VerticalAlignment="Center"
|
||||
FontWeight="SemiBold" />
|
||||
</StackPanel>
|
||||
</nodify:Node.Header>
|
||||
<TextBlock Text="⚡ Double-click to edit"
|
||||
FontSize="10"
|
||||
Foreground="#FF9800"
|
||||
Opacity="0.8"
|
||||
Margin="4 2" />
|
||||
<nodify:Node.InputBindings>
|
||||
<MouseBinding Gesture="LeftDoubleClick"
|
||||
Command="{Binding DataContext.OpenCalculatorCommand, RelativeSource={RelativeSource AncestorType=UserControl}}"
|
||||
|
||||
Reference in New Issue
Block a user