Skip to content

Commit 3680f2b

Browse files
committed
optimize
1 parent 09a6b40 commit 3680f2b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

source/RevitLookup/Core/Decomposition/Descriptors/CurveLoopDescriptor.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,15 +82,15 @@ public void RegisterMenu(ContextMenu contextMenu, IServiceProvider serviceProvid
8282
{
8383
#if REVIT2023_OR_GREATER
8484
contextMenu.AddMenuItem("SelectMenuItem")
85-
.SetCommand(_curveloop, SelectCurve)
85+
.SetCommand(_curveLoop, SelectCurve)
8686
.SetShortcut(Key.F6);
8787

8888
contextMenu.AddMenuItem("ShowMenuItem")
89-
.SetCommand(_curveloop, ShowCurve)
89+
.SetCommand(_curveLoop, ShowCurve)
9090
.SetShortcut(Key.F7);
9191
#endif
9292
contextMenu.AddMenuItem("VisualizeMenuItem")
93-
.SetAvailability(true && _curveLoop.GetExactLength() > 1e-6)
93+
.SetAvailability(_curveLoop.GetExactLength() > 1e-6)
9494
.SetCommand(_curveLoop, VisualizeCurve)
9595
.SetShortcut(Key.F8);
9696

0 commit comments

Comments
 (0)