Commit ID 4e98704b7119f1bf3daf650013b74252dfa74e1a
Contributor: | trompetin17 | Files Modified | 1 | |
Date: | 05-November-2024 at 18:07 | Lines Added: | 6 | |
Repository: | https://gitea.wildfiregames.com/0ad/0ad.git main | Lines Removed: | 1 | |
Commit Comment: | fix Propagation mousewheel event in game Propagation mousewheel event was introduce to have the opportunity to parent handle this event if an only if the child doenst handle and the parent set a handler for that event. The error foundedd by elexis inside a game relay on the message waw propagated outsie IGUIObjects to CGUI.cpp that shouldnt be at the beggin. I forget to stop the propagation when all objects in the tree was validated, because of that the message was propagate to CGUI.cpp andd then hanle by camera. the fix suggest to only propagate the event in the GUI tree, not outside the GUI tree |
Language | Code Added | Code Removed | Comments Added | Comments Removed | Blanks Added | Blanks Removed | |
---|---|---|---|---|---|---|---|
C++ | 6 | 1 | 0 | 0 | 0 | 0 |
File | Language | Code Added | Code Removed | Comments Added | Comments Removed | Blanks Added | Blanks Removed |
---|---|---|---|---|---|---|---|
source/gui/ObjectBases/IGUIObject.cpp | C++ | 6 | 1 | 0 | 0 | 0 | 0 |