(Float2 location)
| 1129 | |
| 1130 | /// <inheritdoc /> |
| 1131 | public override void OnMouseMove(Float2 location) |
| 1132 | { |
| 1133 | base.OnMouseMove(location); |
| 1134 | |
| 1135 | // Cache flag |
| 1136 | _mouseOverArrow = CanExpand && ArrowRect.Contains(location); |
| 1137 | |
| 1138 | // Check if start drag and drop |
| 1139 | if (_isMouseDown && Float2.Distance(_mouseDownPos, location) > 10.0f) |
| 1140 | { |
| 1141 | // Clear flag |
| 1142 | _isMouseDown = false; |
| 1143 | |
| 1144 | // Start |
| 1145 | DoDragDrop(); |
| 1146 | } |
| 1147 | } |
| 1148 | |
| 1149 | /// <inheritdoc /> |
| 1150 | public override void OnMouseLeave() |
nothing calls this directly
no test coverage detected