| 137 | |
| 138 | |
| 139 | void ScrollWidget::onDragMove(const DragMoveEvent& e) { |
| 140 | math::Vec offsetDelta = e.mouseDelta.div(getAbsoluteZoom()); |
| 141 | offset = offset.minus(offsetDelta); |
| 142 | } |
| 143 | |
| 144 | |
| 145 | void ScrollWidget::onHoverScroll(const HoverScrollEvent& e) { |