Document Controls: adds dark mode button

This commit is contained in:
James Magahern
2021-02-15 22:47:02 -08:00
parent 2b5475d7f8
commit 00e50b5bda
8 changed files with 52 additions and 27 deletions

View File

@@ -59,7 +59,7 @@ class DocumentControlView: UIControl
let imageSize: CGFloat = 24.0
let bounds = self.bounds.inset(by: layoutMargins)
imageView.frame = CGRect(
x: bounds.minX, y: 0.0,
x: bounds.minX + 6.0, y: 0.0,
width: imageSize, height: imageSize
).centeredY(inRect: self.bounds)