[SSE] Bug 44946 (Invalid locking of sheet navigation buttons)

This commit is contained in:
JuliaSvinareva 2020-03-27 17:45:18 +03:00
parent bb883aca9d
commit e394d494ed
2 changed files with 5 additions and 1 deletions

View file

@ -142,6 +142,7 @@ define([
me.bar.$bar.scrollLeft(me.scrollLeft);
me.bar.scrollX = undefined;
}
me.bar.checkInvisible();
me.drag = undefined;
}
@ -459,7 +460,7 @@ define([
this.checkInvisible(suppress);
} else if ( index >= (this.tabs.length - 1) || index == 'last') {
var tab = this.tabs[this.tabs.length-1].$el;
this.$bar.scrollLeft(this.$bar.scrollLeft() + (tab.position().left + parseInt(tab.css('width')) - this.$bar.width()) + 1);
this.$bar.scrollLeft(this.$bar.scrollLeft() + (tab.position().left + parseInt(tab.css('width')) - this.$bar.width()) + 20);
this.checkInvisible(suppress);
} else {
var rightbound = this.$bar.width(),

View file

@ -41,6 +41,9 @@
cursor: pointer;
}
}
&:last-of-type {
margin-right: 20px;
}
}
&.bottom {