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

Method OnMouseLeave

Source/Editor/GUI/Tree/TreeNode.cs:1074–1093  ·  view source on GitHub ↗

()

Source from the content-addressed store, hash-verified

1072
1073 /// <inheritdoc />
1074 public override void OnMouseLeave()
1075 {
1076 // Clear flags
1077 _mouseOverArrow = false;
1078 _mouseOverHeader = false;
1079
1080 // Check if start drag and drop
1081 if (_isMouseDown)
1082 {
1083 // Clear flag
1084 _isMouseDown = false;
1085 _mouseDownTime = -1;
1086
1087 // Start
1088 DoDragDrop();
1089 }
1090
1091 // Base
1092 base.OnMouseLeave();
1093 }
1094
1095 /// <inheritdoc />
1096 public override bool OnKeyDown(KeyboardKeys key)

Callers 1

OnMouseMoveMethod · 0.45

Calls 1

DoDragDropFunction · 0.85

Tested by

no test coverage detected