Method
OnMouseDoubleClick
(Float2 location, MouseButton button)
Source from the content-addressed store, hash-verified
| 338 | |
| 339 | /// <inheritdoc /> |
| 340 | public override bool OnMouseDoubleClick(Float2 location, MouseButton button) |
| 341 | { |
| 342 | Focus(); |
| 343 | |
| 344 | if (Validator.SelectedItem != null && IconRect.Contains(location)) |
| 345 | { |
| 346 | // Open it |
| 347 | Editor.Instance.ContentEditing.Open(Validator.SelectedItem); |
| 348 | } |
| 349 | |
| 350 | // Handled |
| 351 | return true; |
| 352 | } |
| 353 | |
| 354 | /// <inheritdoc /> |
| 355 | public override DragDropEffect OnDragEnter(ref Float2 location, DragData data) |
Callers
nothing calls this directly
Tested by
no test coverage detected