Skip to content
Snippets Groups Projects
Commit 75a4aa97 authored by Sean McBride's avatar Sean McBride
Browse files

Review of vtkCocoaRenderWindow SetSize and SetPosition

- fixed error in vtkCocoaRenderWindow::SetPosition() where it was unconditionally setting the NSWindow position to 0,0
- eliminated recursion/reentry into viewFrameDidChange: by adding checks in SetSize() and SetPosition()
- slightly tweaked vtkCocoaRenderWindow::GetSize implementation to return 0,0 if somehow there is no NSView, which is an unlikely (impossible?) edge case
- rearranged some tests so the faster ones are first
- improved some comments
parent bf4a12a5
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment