mirror of
https://github.com/keymanapp/keyman.git
synced 2026-09-25 17:17:43 +00:00
chore(ios): drops isTopBarActive, activeTopBarHeight
This commit is contained in:
parent
78fb91400a
commit
8f1feeaecf
1 changed files with 1 additions and 10 deletions
|
|
@ -153,7 +153,7 @@ open class InputViewController: UIInputViewController, KeymanWebDelegate {
|
|||
}
|
||||
|
||||
var expandedHeight: CGFloat {
|
||||
return keymanWeb.keyboardHeight + activeTopBarHeight
|
||||
return keymanWeb.keyboardHeight + InputViewController.topBarHeight
|
||||
}
|
||||
|
||||
public convenience init() {
|
||||
|
|
@ -459,15 +459,6 @@ open class InputViewController: UIInputViewController, KeymanWebDelegate {
|
|||
baseWidthConstraint.isActive = true
|
||||
}
|
||||
|
||||
public var isTopBarActive: Bool {
|
||||
return true
|
||||
}
|
||||
|
||||
public var activeTopBarHeight: CGFloat {
|
||||
// If 'isSystemKeyboard' is true, always show the top bar.
|
||||
return isTopBarActive ? CGFloat(InputViewController.topBarHeight) : 0
|
||||
}
|
||||
|
||||
public var kmwHeight: CGFloat {
|
||||
return keymanWeb.keyboardHeight
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue