MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / OnMouseUp

Method OnMouseUp

Source/Editor/Windows/Search/SearchItem.cs:97–106  ·  view source on GitHub ↗

(Float2 location, MouseButton button)

Source from the content-addressed store, hash-verified

95
96 /// <inheritdoc />
97 public override bool OnMouseUp(Float2 location, MouseButton button)
98 {
99 if (button == MouseButton.Left)
100 {
101 _finder.Hide();
102 Editor.Instance.ContentFinding.Open(Item);
103 }
104
105 return base.OnMouseUp(location, button);
106 }
107
108 /// <inheritdoc />
109 public override void Draw()

Callers 2

OnMouseDownMethod · 0.45
OnMouseUpMethod · 0.45

Calls 2

HideMethod · 0.45
OpenMethod · 0.45

Tested by

no test coverage detected