occt: master 5f69cfa7
Author | Committer | Branch | Timestamp | Parent |
---|---|---|---|---|
kgv | master | 2021-10-22 12:59:19 | master 19da974e | |
Affected Issues | 0032638: Draw Harness, ViewerTest - HTML input range misbehavior in WebAssembly | |||
Changeset | 0032638: Draw Harness, ViewerTest - HTML input range misbehavior in WebAssembly ViewerTest_EventManager - added tracking of EMSCRIPTEN_EVENT_FOCUSOUT event. onWasmMouseCallback() has been adjusted to return FALSE for EMSCRIPTEN_EVENT_TARGET_WINDOW target to avoid misbehavior of other HTML controls. WNT_Window::ProcessMessage() now handles WM_SETFOCUS/WM_KILLFOCUS instead of WM_ACTIVATE to track focus changes. AIS_ViewController::ProcessFocus() now redirects to AIS_ViewController::ResetViewInput() on focus loss. This fixes issues when key action (like WASD navigation) keep working even after releasing key if window has been switched. |
|||
mod - samples/webgl/occt-webgl-sample.html | Diff File | |||
mod - samples/webgl/WasmOcctView.cpp | Diff File | |||
mod - samples/webgl/WasmOcctView.h | Diff File | |||
mod - src/AIS/AIS_ViewController.hxx | Diff File | |||
mod - src/ViewerTest/ViewerTest_EventManager.cxx | Diff File | |||
mod - src/Wasm/Wasm_Window.cxx | Diff File | |||
mod - src/Wasm/Wasm_Window.hxx | Diff File | |||
mod - src/WNT/WNT_Window.cxx | Diff File |