Closed Bug 720992 Opened 13 years ago Closed 13 years ago

Tilt should use mozAnimation for all its animations, instead of intervals

Categories

(DevTools :: Inspector, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 13

People

(Reporter: vporof, Assigned: vporof)

References

Details

(Whiteboard: [tilt])

Attachments

(1 file, 1 obsolete file)

See more info in bug 718425.
Assignee: nobody → vporof
Status: NEW → ASSIGNED
Whiteboard: [tilt]
Attached patch v1 (obsolete) — Splinter Review
A few global consts had to be changed slightly to achieve approximately the same animation timings.
Attachment #593883 - Flags: review?(rcampbell)
Depends on: 723435
Blocks: 723588
Attached patch v2Splinter Review
Fixed a few fails in try.
Attachment #593883 - Attachment is obsolete: true
Attachment #593883 - Flags: review?(rcampbell)
Attachment #594118 - Flags: review?(rcampbell)
Comment on attachment 594118 [details] [diff] [review] v2 -const INTRO_TRANSITION_DURATION = 50; -const OUTRO_TRANSITION_DURATION = 40; +const INTRO_TRANSITION_DURATION = 1000; +const OUTRO_TRANSITION_DURATION = 800; const INITIAL_Z_TRANSLATION = 400; const MOVE_INTO_VIEW_ACCURACY = 50; what are these units? Comments please. const MOUSE_CLICK_THRESHOLD = 10; -const MOUSE_INTRO_DELAY = 10; +const MOUSE_INTRO_DELAY = 200; const ARCBALL_SENSITIVITY = 0.5; these too. Otherwise looks really solid. Could you throw this through try as well? R+ with a successful run. Thanks!
Attachment #594118 - Flags: review?(rcampbell) → review+
(In reply to Rob Campbell [:rc] (robcee) from comment #3) > Comment on attachment 594118 [details] [diff] [review] > v2 > > -const INTRO_TRANSITION_DURATION = 50; > -const OUTRO_TRANSITION_DURATION = 40; > +const INTRO_TRANSITION_DURATION = 1000; > +const OUTRO_TRANSITION_DURATION = 800; > const INITIAL_Z_TRANSLATION = 400; > const MOVE_INTO_VIEW_ACCURACY = 50; > > what are these units? Comments please. I can't really relate these to a unit of measurement. Just interpolation magic numbers. Definitely not pixels, not centimeters, or kilograms... > > const MOUSE_CLICK_THRESHOLD = 10; > -const MOUSE_INTRO_DELAY = 10; > +const MOUSE_INTRO_DELAY = 200; > const ARCBALL_SENSITIVITY = 0.5; > > these too. > > Otherwise looks really solid. Could you throw this through try as well? R+ > with a successful run. Thanks! Try: https://tbpl.mozilla.org/?tree=Try&rev=97ff4518c7
Whiteboard: [tilt] → [tilt][land-in-fx-team]
(In reply to Victor Porof from comment #4) > (In reply to Rob Campbell [:rc] (robcee) from comment #3) > > Comment on attachment 594118 [details] [diff] [review] > > v2 > > > > -const INTRO_TRANSITION_DURATION = 50; > > -const OUTRO_TRANSITION_DURATION = 40; > > +const INTRO_TRANSITION_DURATION = 1000; > > +const OUTRO_TRANSITION_DURATION = 800; > > const INITIAL_Z_TRANSLATION = 400; > > const MOVE_INTO_VIEW_ACCURACY = 50; > > > > what are these units? Comments please. > > I can't really relate these to a unit of measurement. Just interpolation > magic numbers. Definitely not pixels, not centimeters, or kilograms... I was thinking fractions of a second, frames or intervals. "Interpolation magic" is kind of unsatisfying. > > const MOUSE_CLICK_THRESHOLD = 10; > > -const MOUSE_INTRO_DELAY = 10; > > +const MOUSE_INTRO_DELAY = 200; > > const ARCBALL_SENSITIVITY = 0.5; > > > > these too. > > > > Otherwise looks really solid. Could you throw this through try as well? R+ > > with a successful run. Thanks! > > Try: https://tbpl.mozilla.org/?tree=Try&rev=97ff4518c7 ah well. Land ho!
Whiteboard: [tilt][land-in-fx-team] → [tilt][fixed-in-fx-team]
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Whiteboard: [tilt][fixed-in-fx-team] → [tilt]
Target Milestone: --- → Firefox 13
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: