StaticText marks mouse-wheel-events as handled only if scrollbars are visible

Issue #425 resolved
Former user created an issue

Automatic migration. Original reporter: "r0br0y"

Tiny patch that relates the return-flag of onMouseWheel() to the visibility of the scrollbars. With that mouse-wheel-events can be passed through to a scrollable-pane-parent if the static-text itself is not scrollable.

Reproducibility: always

Comments (1)

  1. Paul Turner

    Thanks!

    changeset: 3139:2db0d837c612 user: Paul Turner <paul@cegui.org.uk> date: Sat Feb 25 19:56:31 2012 +0000 summary: Fix: Falagard StaticText window renderer would always consume mouse wheel events, event when not scrollable. This prevented event propagation to scrollable parent elements and prevented expected behaviour.

  2. Log in to comment