Disable zoom buttons in find panels

This commit is contained in:
1024jp 2023-08-20 09:43:21 +09:00
parent 2022e20261
commit 432e4e02e9
3 changed files with 4 additions and 1 deletions

View File

@ -23,8 +23,9 @@ Change Log
- Make sure to perform the automatic whitespace trimming every time before explicit saving by the user.
- Migrate the sharing interface to the modern version.
- [trivial] Migrate the Opacity toolbar item to popover in macOS 14.
- [trivial] Disable the zoom button in the find & replace windows.
- [trivial] Disable the contextual menu for shortcut fields.
- [trivial] Reduce the maximum number to split editor.
- [trivial] Reduce the maximum number of editors to split into.
- [trivial] Change the behavior of the duplication command for syntax definitions to just create a duplicated syntax instead of opening the syntax editor dialog.
- [trivial] Improve the behavior when selecting a row in the find result table in the Find window.
- [trivial] Rename “syntax style” with just “syntax.”

View File

@ -40,6 +40,7 @@ final class FindPanelController: NSWindowController {
window.styleMask = [.titled, .closable, .resizable, .utilityWindow]
window.level = .floating
window.autorecalculatesKeyViewLoop = true
window.standardWindowButton(.zoomButton)?.isEnabled = false
window.title = String(localized: "Find & Replace")
self.init(window: window)

View File

@ -40,6 +40,7 @@ final class MultipleReplacePanelController: NSWindowController {
window.styleMask = [.titled, .closable, .resizable, .fullSizeContentView, .utilityWindow]
window.level = .floating
window.titlebarAppearsTransparent = true
window.standardWindowButton(.zoomButton)?.isEnabled = false
window.setFrameAutosaveName("Multiple Replace Panel")
window.title = String(localized: "Multiple Replace", comment: "window title")