| 290 | }; |
| 291 | |
| 292 | inline ImVec2 ScreenSpaceToMiniMapSpace(const ImNodesEditorContext& editor, const ImVec2& v) |
| 293 | { |
| 294 | return (ScreenSpaceToGridSpace(editor, v) - editor.GridContentBounds.Min) * |
| 295 | editor.MiniMapScaling + |
| 296 | editor.MiniMapContentScreenSpace.Min; |
| 297 | }; |
| 298 | |
| 299 | inline ImRect ScreenSpaceToMiniMapSpace(const ImNodesEditorContext& editor, const ImRect& r) |
| 300 | { |
no test coverage detected