Skip to content

Commit

Permalink
Removed border from CommandBar and ScribeKey to fix inconsistent outl…
Browse files Browse the repository at this point in the history
…ine behaviour
  • Loading branch information
fabulouiOS-monk committed May 18, 2024
1 parent 9868706 commit cc91e29
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions Keyboards/KeyboardsBase/ScribeFunctionality/CommandBar.swift
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,6 @@ class CommandBar: UILabel {
addInfoButton()
backgroundColor = commandBarColor
blend.backgroundColor = commandBarColor
layer.borderColor = commandBarBorderColor
layer.borderWidth = 1.0
textAlignment = NSTextAlignment.left
if DeviceType.isPhone {
font = .systemFont(ofSize: frame.height * 0.4725)
Expand Down
2 changes: 0 additions & 2 deletions Keyboards/KeyboardsBase/ScribeFunctionality/ScribeKey.swift
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,6 @@ class ScribeKey: UIButton {
func set() {
setImage(scribeKeyIcon, for: .normal)
setBtn(btn: self, color: commandKeyColor, name: "Scribe", canBeCapitalized: false, isSpecial: false)
layer.borderColor = commandBarBorderColor
layer.borderWidth = 1.0
contentMode = .center
imageView?.contentMode = .scaleAspectFit
shadow.isUserInteractionEnabled = false
Expand Down

0 comments on commit cc91e29

Please sign in to comment.