You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-10 13:00:37 +00:00
Add macOS DisplayServer implementation.
Change global menu to use Callable, add support for check items and submenus.
This commit is contained in:
@@ -1964,7 +1964,7 @@ bool Main::start() {
|
||||
#ifdef OSX_ENABLED
|
||||
String mac_iconpath = GLOBAL_DEF("application/config/macos_native_icon", "Variant()");
|
||||
if (mac_iconpath != "") {
|
||||
OS::get_singleton()->set_native_icon(mac_iconpath);
|
||||
DisplayServer::get_singleton()->set_native_icon(mac_iconpath);
|
||||
hasicon = true;
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user