Skip to content

Commit

Permalink
Adjusting times
Browse files Browse the repository at this point in the history
  • Loading branch information
mattgperry committed Oct 11, 2024
1 parent 4215639 commit 7ce568a
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { motion, AnimatePresence } from "framer-motion"
import { useState } from "react"

const transition = { duration: 0.4, ease: () => 0.5 }
const transition = { duration: 0.5, ease: () => 0.5 }
export const App = () => {
const params = new URLSearchParams(window.location.search)
const type = params.get("type") || true
Expand Down
2 changes: 1 addition & 1 deletion packages/framer-motion-3d/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,5 @@
"@rollup/plugin-commonjs": "^22.0.1",
"three": "^0.137.0"
},
"gitHead": "625361373b6cf282e41e0a4caae5ad7ea37cb61a"
"gitHead": "4215639bba60cae3a3d8d642d10149fd58f22f85"
}
Original file line number Diff line number Diff line change
Expand Up @@ -940,7 +940,6 @@ describe("Shared layout: nested crossfade transition", () => {
.get("#b")
.trigger("click")
.wait(250)
.get("#b")
.should(([$box]: any) => {
expectBbox($box, {
top: 150,
Expand Down
2 changes: 1 addition & 1 deletion packages/framer-motion/cypress/integration/waapi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ describe("waapi", () => {

it("Should match WAAPI and main thread startTimes, and allow explicitly setting startTime", () => {
cy.visit("?test=waapi-sync")
.wait(800)
.wait(1500)
// Automatically recorded startTime should be the same between main thread and WAAPI
.get(".auto-timer")
.should(([waapi, sync]: any) => {
Expand Down
2 changes: 1 addition & 1 deletion packages/framer-motion/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -135,5 +135,5 @@
"maxSize": "2.5 kB"
}
],
"gitHead": "625361373b6cf282e41e0a4caae5ad7ea37cb61a"
"gitHead": "4215639bba60cae3a3d8d642d10149fd58f22f85"
}

0 comments on commit 7ce568a

Please sign in to comment.