Skip to content

Commit

Permalink
✨ Fix text position
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoverbruggen committed Jul 15, 2019
1 parent 90a8e7c commit b260993
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion phpmon/Classes/Helpers/MenuBarImageGenerator.swift
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class MenuBarImageGenerator {
let imageRect = CGRect(x: 0, y: 0, width: image.size.width, height: image.size.height)

// Position the text inside the image rect
let textRect = CGRect(x: padding, y: 0, width: image.size.width, height: image.size.height)
let textRect = CGRect(x: padding, y: 0.5, width: image.size.width, height: image.size.height)

let targetImage: NSImage = NSImage(size: image.size)
let rep: NSBitmapImageRep = NSBitmapImageRep(
Expand Down

0 comments on commit b260993

Please sign in to comment.