fix SonarPen for iOS

This commit is contained in:
2019-10-14 12:50:41 +02:00
parent 258f6a6aff
commit 3c99653c09
7 changed files with 60 additions and 15 deletions

View File

@@ -1012,6 +1012,13 @@ void App::init_menu_tools()
popup_exp->destroy();
};
#if __IOS__
popup_exp->find<NodeButtonCustom>("sonarpen")->on_click = [this, popup_exp](Node*) {
[ios_app sonarpen_start];
popup_exp->mouse_release();
popup_exp->destroy();
};
#endif
};
}
}