fix animation issue when showing sidebar
This commit is contained in:
@@ -63,6 +63,7 @@ Latest (master):
|
|||||||
* Coloring issue's title instead of link in Gantt diagram for overdue issues
|
* Coloring issue's title instead of link in Gantt diagram for overdue issues
|
||||||
* Updated npm packages: grunt-sass from 0.18.0 to 1.0.0 and grunt-contrib-uglify 0.7.0 to 0.9.1
|
* Updated npm packages: grunt-sass from 0.18.0 to 1.0.0 and grunt-contrib-uglify 0.7.0 to 0.9.1
|
||||||
* Use flexbox layout by default (can be changed by setting `$flexbox-layout` to `false`)
|
* Use flexbox layout by default (can be changed by setting `$flexbox-layout` to `false`)
|
||||||
|
* Fixed animation issue when showing sidebar
|
||||||
|
|
||||||
v1.6.0 (2015-06-10):
|
v1.6.0 (2015-06-10):
|
||||||
|
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@@ -134,9 +134,12 @@ PurpleMine.SidebarToggler = (function()
|
|||||||
SidebarToggler.prototype.showSidebar = function()
|
SidebarToggler.prototype.showSidebar = function()
|
||||||
{
|
{
|
||||||
clearTimeout(this.sidebarHiding);
|
clearTimeout(this.sidebarHiding);
|
||||||
this.$sidebar
|
|
||||||
.removeClass("sidebar-hidden", 0)
|
self.$sidebar.removeClass("sidebar-hidden");
|
||||||
.removeClass("sidebar-hiding");
|
setTimeout(function sidebarTimeout()
|
||||||
|
{
|
||||||
|
self.$sidebar.removeClass("sidebar-hiding");
|
||||||
|
}, 50);
|
||||||
|
|
||||||
this.$toggler.removeClass("sidebar-hidden");
|
this.$toggler.removeClass("sidebar-hidden");
|
||||||
this.sidebarVisible = true;
|
this.sidebarVisible = true;
|
||||||
|
|||||||
@@ -9,8 +9,10 @@
|
|||||||
#sidebar {
|
#sidebar {
|
||||||
@if $fixed-layout {
|
@if $fixed-layout {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
|
will-change: margin, opacity;
|
||||||
@include transition(margin .5s, opacity .5s);
|
@include transition(margin .5s, opacity .5s);
|
||||||
} @else {
|
} @else {
|
||||||
|
will-change: margin;
|
||||||
@include transition(margin .5s);
|
@include transition(margin .5s);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user