Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DYN-2755] Preview disabled nodes can be renamed with double click #10854

Merged
merged 15 commits into from
Jul 9, 2020
Merged
Changes from all commits
Commits
Show all changes
15 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 20 additions & 2 deletions src/DynamoCoreWpf/Views/Core/NodeView.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -274,10 +274,28 @@
</Rectangle.ToolTip>
</Rectangle>

<Border Name="previewState"
<Border Name="previewStateNameBlock"
Grid.Row="1"
Grid.ColumnSpan="3"
Grid.RowSpan="3"
Grid.RowSpan="1"
Canvas.ZIndex="12"
Margin="1,1,1,1"
Background="#99B8CA"
Opacity=".4"
Style="{StaticResource SZoomFadePreview}"
MouseDown="NameBlock_OnMouseDown">
<Border.Visibility>
<Binding Path="IsVisible"
UpdateSourceTrigger="PropertyChanged"
Mode="OneWay"
Converter="{StaticResource InverseBoolToVisibilityConverter}">
</Binding>
</Border.Visibility>
</Border>
<Border Name="previewState"
Grid.Row="2"
Grid.ColumnSpan="3"
Grid.RowSpan="2"
Canvas.ZIndex="12"
Margin="1,1,1,1"
Background="#99B8CA"
Expand Down