tudo-aqua / bgw

BoardGameWork
https://tudo-aqua.github.io/bgw/
Apache License 2.0
24 stars 16 forks source link

[bgw-gui] Made zoomLocked CameraPane scrollable with mousewheel #390

Closed smilefx closed 11 months ago

smilefx commented 1 year ago

If a CameraPane has the attribute isZoomLocked, the scroll event now scrolls the pane instead of doing nothing. In addition Shift + Scroll handles horizontal scroll.

Both features work on their respective axes if isHorizontalLocked == false or isVerticalLocked == false.

The property interactive does NOT influence the scrolling behavior.