deprecate screen.getMenuBarHeight
This commit is contained in:
parent
642dc96956
commit
199cf31b9e
2 changed files with 10 additions and 0 deletions
|
@ -9,6 +9,7 @@ namespace atom {
|
|||
|
||||
namespace api {
|
||||
|
||||
//TODO(codebytere): deprecated; remove in 3.0
|
||||
int Screen::getMenuBarHeight() {
|
||||
return [[NSApp mainMenu] menuBarHeight];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue