Skip to content

Commit 8c9c8a2

Browse files
committed
Merge pull request #644 from ealves-pt/jumpy-bottom-bar
"Jumpy" Bottom Bar - fadeOut/fadeIn replaced by animate
2 parents 9ae07c3 + 0f13d1c commit 8c9c8a2

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

dist/main/atom/views/mainPanelView.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,10 +209,10 @@ var MainPanelView = (function (_super) {
209209
this.txtPendingCount.html("<span class=\"text-highlight\">" + this.pendingRequests.length + "</span>");
210210
this.sectionPending.stop();
211211
if (pending.length) {
212-
this.sectionPending.fadeIn(500);
212+
this.sectionPending.animate({ opacity: 0.5 }, 500);
213213
}
214214
else {
215-
this.sectionPending.fadeOut(200);
215+
this.sectionPending.animate({ opacity: 0 }, 200);
216216
}
217217
};
218218
MainPanelView.prototype.errorPanelSelectedClick = function () {

lib/main/atom/views/mainPanelView.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -241,10 +241,10 @@ export class MainPanelView extends view.View<any> {
241241

242242
this.sectionPending.stop();
243243
if (pending.length) {
244-
this.sectionPending.fadeIn(500);
244+
this.sectionPending.animate({opacity: 0.5}, 500);
245245
}
246246
else {
247-
this.sectionPending.fadeOut(200);
247+
this.sectionPending.animate({opacity: 0}, 200);
248248
}
249249
}
250250

0 commit comments

Comments
 (0)