Skip to content

Commit

Permalink
add: example panUp input logging
Browse files Browse the repository at this point in the history
  • Loading branch information
chase-moskal committed Jun 24, 2024
1 parent c674182 commit 05e3552
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions s/dom/views/map-editor/view.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,11 @@ export const MapEditorView = nexus.shadow_view(use => () => {
})

const editorCore = new EditorCore(window)
const {inputs, actions} = editorCore

inputs.on(actions.common.panUp, input => {
console.log("panUp", input)
})

return {stage, editorCore}
})
Expand Down

0 comments on commit 05e3552

Please sign in to comment.