GNOME Bugzilla – Bug 694064
Fix two bugs in controls animations
Last modified: 2013-02-18 14:34:47 UTC
See attached patches
Created attachment 236553 [details] [review] overviewControls: fix math for translations when sliding in The math to compute translations was wrong when sliding in.
Created attachment 236554 [details] [review] overviewControls: update slide in translations from pageEmpty Now that we unified animation times, move in controls together with the new view.
Created attachment 236555 [details] [review] overviewControls: fix math for translations when sliding in -- Much simpler version.
Created attachment 236557 [details] [review] overviewControls: fix math for translations when sliding in -- Argh, fix rebase error
Review of attachment 236557 [details] [review]: OK.
Review of attachment 236554 [details] [review]: ::: js/ui/overviewControls.js @@ +198,3 @@ this.layout.slideX = this.getSlide(); + if (this.visible) + this._updateTranslation(true); Perhaps updateTranslation should DTRT wrt. being visible vs. invisible?
(In reply to comment #6) > Perhaps updateTranslation should DTRT wrt. being visible vs. invisible? I think this is a good idea.
Attachment 236554 [details] pushed as ccb8191 - overviewControls: update slide in translations from pageEmpty Attachment 236557 [details] pushed as 4505c38 - overviewControls: fix math for translations when sliding in Pushed with the suggested fix.