Edit viewport.