JUCE
JUCE copied to clipboard
virtual destructor and useMouseWheelMoveIfNeeded in Viewport
trafficstars
This PR adds virtual keyword to relevant functions in the Viewport class so it can be used as a base class to create custom behaviour. The use case for making this modification was that I needed to not react to mouse wheel in some cases (shift key pressed, or in a certain context).