Closed
Bug 720992
Opened 12 years ago
Closed 12 years ago
Tilt should use mozAnimation for all its animations, instead of intervals
Categories
(DevTools :: Inspector, defect)
DevTools
Inspector
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 13
People
(Reporter: vporof, Assigned: vporof)
References
Details
(Whiteboard: [tilt])
Attachments
(1 file, 1 obsolete file)
20.27 KB,
patch
|
rcampbell
:
review+
|
Details | Diff | Splinter Review |
See more info in bug 718425.
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → vporof
Status: NEW → ASSIGNED
Whiteboard: [tilt]
Assignee | ||
Comment 1•12 years ago
|
||
A few global consts had to be changed slightly to achieve approximately the same animation timings.
Attachment #593883 -
Flags: review?(rcampbell)
Assignee | ||
Comment 2•12 years ago
|
||
Fixed a few fails in try.
Attachment #593883 -
Attachment is obsolete: true
Attachment #593883 -
Flags: review?(rcampbell)
Attachment #594118 -
Flags: review?(rcampbell)
Comment 3•12 years ago
|
||
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+
Assignee | ||
Comment 4•12 years ago
|
||
(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
Assignee | ||
Updated•12 years ago
|
Whiteboard: [tilt] → [tilt][land-in-fx-team]
Comment 5•12 years ago
|
||
(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!
Comment 6•12 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/3b55713894a6
Whiteboard: [tilt][land-in-fx-team] → [tilt][fixed-in-fx-team]
Comment 7•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/3b55713894a6
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Whiteboard: [tilt][fixed-in-fx-team] → [tilt]
Target Milestone: --- → Firefox 13
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•