Skip to content

Commit

Permalink
test(selection): allow panning with mouseWheelDown in the selection e…
Browse files Browse the repository at this point in the history
…xample
  • Loading branch information
aMoonkin committed Oct 11, 2023
1 parent 9664d9a commit 335be79
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions examples/x6-example-features/src/pages/selection/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ export default class Example extends React.Component {
width: 800,
height: 600,
grid: true,
panning: {
enabled: true,
eventTypes: ['mouseWheelDown'],
},
})

const keyboard = new Keyboard()
Expand Down

0 comments on commit 335be79

Please sign in to comment.