mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-03 20:46:28 +00:00
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
|
? historyButton.frame.origin.x
|
||||||
: (contactsButton.selected
|
: (contactsButton.selected
|
||||||
? contactsButton.frame.origin.x
|
? contactsButton.frame.origin.x
|
||||||
: (dialerButton.selected ? dialerButton.frame.origin.x
|
: (dialerButton.selected
|
||||||
: (chatButton.selected ? chatButton.frame.origin.x : 0))));
|
? dialerButton.frame.origin.x
|
||||||
|
: (chatButton.selected ? chatButton.frame.origin.x
|
||||||
|
: -selectedNewFrame.size.width /*hide it if none is selected*/))));
|
||||||
_selectedButtonImage.frame = selectedNewFrame;
|
_selectedButtonImage.frame = selectedNewFrame;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue