Skip to content

Commit

Permalink
Merge pull request #468 from lukhnos/fix-version-update-alert
Browse files Browse the repository at this point in the history
Fix the layout code for the non-modal alert
  • Loading branch information
zonble authored Apr 12, 2024
2 parents 85b6a79 + 56121da commit 6df5460
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/NonModalAlertWindowController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ class NonModalAlertWindowController: NSWindowController {
var adjustFrame = cancelButton.frame
adjustFrame.size.width = max(90, adjustFrame.size.width + 10)
adjustFrame.origin.x = newFrame.origin.x - adjustFrame.size.width
confirmButton.frame = adjustFrame
cancelButton.frame = adjustFrame
cancelButton.isHidden = false
} else {
cancelButton.isHidden = true
Expand Down

0 comments on commit 6df5460

Please sign in to comment.