Change the default value of showsTagField to true

The default value of showsTagField in macOS's NSSavePanel is true.

Therefore, in order to follow the standard behavior and not break
backwards-compatibility, let's change the default value of
showsTagField to true.

Reference:
https://developer.apple.com/reference/appkit/nssavepanel/1525589-showstagfield?language=objc
This commit is contained in:
Tan Wang Leng 2017-02-09 21:01:40 +08:00
Родитель b0487b7d84
Коммит 9423143211
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -182,7 +182,7 @@ module.exports = {
}
if (showsTagField == null) {
showsTagField = false
showsTagField = true
}
const wrappedCallback = typeof callback === 'function' ? function (success, result) {