You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(frontend): pair MouseDouble with a synthetic MouseUp release (#10) (#873) (#877)
* fix(frontend): pair MouseDouble with a synthetic MouseUp release (#10)
The streamer plugin treats `MouseDouble` as a press-class event
(`RoutePointerDoubleClickEvent` / `OnMouseDoubleClick`) but never
synthesizes the matching release; the browser's `mouseup` was already
consumed by the prior `MouseUp`, leaving UE thinking the button was
still held. Send a paired `MouseUp` after `MouseDouble` from both mouse
controllers, gated on a new `MouseDoubleClickAutoRelease` flag (default
on) so projects that handle the doubleclick release themselves can
opt out.
* feat(ui): expose MouseDoubleClickAutoRelease in the settings panel
Adds the new flag to the Input section of the settings panel so users
can toggle it from the UI without having to pass a URL parameter.
(cherry picked from commit 06de3f4)
Synthesize a `MouseUp` after `MouseDouble` in both mouse controllers so the streamer's pressed-button state stays balanced after a double-click (#10). The plugin treats `MouseDouble` as a press-class event (`RoutePointerDoubleClickEvent` / `IGenericApplicationMessageHandler::OnMouseDoubleClick`) but never synthesizes a release; the browser's preceding `mouseup` was already consumed by the prior `MouseUp`, so UE was left thinking the button was still held — manifesting, for example, as camera pans that latched on after a double-click. Behaviour is gated on the new `MouseDoubleClickAutoRelease` flag (default on); disable it via `?MouseDoubleClickAutoRelease=false` or the settings panel to restore pre-fix behaviour for projects that handle the doubleclick release themselves.
'After sending a MouseDouble message, also send a matching MouseUp so the streamer’s pressed-button state stays balanced. Disable to restore pre-fix behaviour if your project handles the doubleclick release itself.',
0 commit comments