split-panes: disable zoom-animation for splitter controls
For the zoom-animation of overlay elements the algorithm does not seem to use the correct start/end positions for building the trajectory. In particular the splitter control animation looks really awkward. Lets disable this for now till the animation issue is fixed. Change-Id: Ic67ccc3df1172853e4b946795dc6c8becb3ad00b Reviewed-on: https://gerrit.libreoffice.org/c/online/+/99358 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Tested-by: Jenkins Reviewed-by: Dennis Francis <dennis.francis@collabora.com>
This commit is contained in:
parent
bedd335049
commit
0a0e1f7e28
1 changed files with 2 additions and 2 deletions
|
@ -26,7 +26,7 @@ L.Renderer = L.Layer.extend({
|
|||
if (!this._container) {
|
||||
this._initContainer(); // defined by renderer implementations
|
||||
|
||||
if (this._zoomAnimated) {
|
||||
if (this._zoomAnimated && this.rendererId !== 'fixed') {
|
||||
L.DomUtil.addClass(this._container, 'leaflet-zoom-animated');
|
||||
}
|
||||
}
|
||||
|
@ -49,7 +49,7 @@ L.Renderer = L.Layer.extend({
|
|||
var events = {
|
||||
moveend: this._update
|
||||
};
|
||||
if (this._zoomAnimated) {
|
||||
if (this._zoomAnimated && this.rendererId !== 'fixed') {
|
||||
events.zoomanim = this._animateZoom;
|
||||
}
|
||||
return events;
|
||||
|
|
Loading…
Reference in a new issue