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 bd45b5a commit c6380f9Copy full SHA for c6380f9
packages/app-frontend/src/features/timeline/TimelineView.vue
@@ -1290,12 +1290,12 @@ export default defineComponent({
1290
}
1291
1292
if (cameraDragging) {
1293
- const deltaX = (startDragX - x) / window.devicePixelRatio
1294
- const deltaY = (startDragY - y) / window.devicePixelRatio
+ const deltaX = (startDragX - x)
+ const deltaY = (startDragY - y)
1295
1296
// Horizontal
1297
const size = endTime.value - startTime.value
1298
- const viewWidth = wrapper.value.offsetWidth
+ const viewWidth = app.view.width
1299
const delta = deltaX / viewWidth * size
1300
let start = startTime.value = startDragTime + delta
1301
if (start < minTime.value) {
0 commit comments