{"action":"opened","issue":{"url":"https://api.github.com/repos/kitasuke/PagingMenuController/issues/58","labels_url":"https://api.github.com/repos/kitasuke/PagingMenuController/issues/58/labels{/name}","comments_url":"https://api.github.com/repos/kitasuke/PagingMenuController/issues/58/comments","events_url":"https://api.github.com/repos/kitasuke/PagingMenuController/issues/58/events","html_url":"https://github.com/kitasuke/PagingMenuController/issues/58","id":99232336,"number":58,"title":"MenuView disappears when changing to single View Controller","user":{"login":"kayvink","id":6463146,"avatar_url":"https://avatars.githubusercontent.com/u/6463146?v=3","gravatar_id":"","url":"https://api.github.com/users/kayvink","html_url":"https://github.com/kayvink","followers_url":"https://api.github.com/users/kayvink/followers","following_url":"https://api.github.com/users/kayvink/following{/other_user}","gists_url":"https://api.github.com/users/kayvink/gists{/gist_id}","starred_url":"https://api.github.com/users/kayvink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kayvink/subscriptions","organizations_url":"https://api.github.com/users/kayvink/orgs","repos_url":"https://api.github.com/users/kayvink/repos","events_url":"https://api.github.com/users/kayvink/events{/privacy}","received_events_url":"https://api.github.com/users/kayvink/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-05T15:31:12Z","updated_at":"2015-08-05T15:31:12Z","closed_at":null,"body":"When one of two view controllers is deleted, the MenuItemView moves to the left and loses it's horizontal line. Currently deleting the page like so:\r\n\r\n```Swift    \r\ninternal func didDeleteAccount(index: Int) {\r\n     \r\n   viewControllers.removeAtIndex(index)\r\n   pagingMenuOptions.defaultPage = viewControllers.count / 2\r\n   pagingMenuController.setup(viewControllers: viewControllers, options: pagingMenuOptions)\r\n\r\n        \r\n}\r\n```\r\n\r\nFrom this\r\n<img width=\"383\" alt=\"screen shot 2015-08-05 at 17 24 01\" src=\"https://cloud.githubusercontent.com/assets/6463146/9089711/d07f60c8-3b96-11e5-8c2b-02b580320880.png\">\r\n\r\nTo this\r\n\r\n<img width=\"381\" alt=\"screen shot 2015-08-05 at 17 23 43\" src=\"https://cloud.githubusercontent.com/assets/6463146/9089710/d049dde0-3b96-11e5-9dcb-45b9aeea3b62.png\">\r\n\r\n`centerItem` is still set to `true` but I think it probably happens because it gets confused what to center? \r\n\r\nAny thoughts?\r\n\r\n\r\n"}}