forked from mirrors/linphone-iphone
TabBar: fix selected bar
This commit is contained in:
parent
ef90322429
commit
4e3935abc3
1 changed files with 4 additions and 2 deletions
|
|
@ -223,8 +223,10 @@ static NSString *const kDisappearAnimation = @"disappear";
|
|||
? historyButton.frame.origin.x
|
||||
: (contactsButton.selected
|
||||
? contactsButton.frame.origin.x
|
||||
: (dialerButton.selected ? dialerButton.frame.origin.x
|
||||
: (chatButton.selected ? chatButton.frame.origin.x : 0))));
|
||||
: (dialerButton.selected
|
||||
? dialerButton.frame.origin.x
|
||||
: (chatButton.selected ? chatButton.frame.origin.x
|
||||
: -selectedNewFrame.size.width /*hide it if none is selected*/))));
|
||||
_selectedButtonImage.frame = selectedNewFrame;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue