Added InputEvent::MouseWheel event. Also added onMouseWheel event for Node.

Enabled wheel scroll momentum for macOS on ecode.
This commit is contained in:
Martín Lucas Golini
2023-11-21 23:47:34 -03:00
parent 14d00ad813
commit ece0c2adde
9 changed files with 55 additions and 0 deletions

View File

@@ -3287,6 +3287,7 @@ void App::init( const LogLevel& logLevel, std::string file, const Float& pidelDe
#endif
#if EE_PLATFORM == EE_PLATFORM_MACOS
macOS_CreateApplicationMenus();
macOS_EnableScrollMomentum();
mThreadPool->run( [this]() {
// Checks if the default shell path contains more paths