We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a6b082 commit 2781788Copy full SHA for 2781788
src/store/gcodePreview/getters.ts
@@ -298,7 +298,7 @@ export const getters = {
298
299
const moves: readonly Move[] = state.moves
300
301
- return binarySearch(moves, move => filePosition - move.filePosition)
+ return binarySearch(moves, move => filePosition - move.filePosition, true)
302
},
303
304
getLayerNrByFilePosition: (state, getters) => (filePosition: number): number => {
0 commit comments