Merge branch 'release/3.8.6' into main

This commit is contained in:
Antonella Sgarlatta
2021-06-19 14:56:30 -03:00
3 changed files with 4 additions and 3 deletions

View File

@@ -140,7 +140,7 @@ class PanelResizerCtrl implements PanelResizerScope {
return; return;
} }
this.resizerColumn = this.$element[0]; this.resizerColumn = this.$element[0];
this.currentMinWidth = this.minWidth || this.resizerColumn.offsetWidth; this.currentMinWidth = this.minWidth || (this.resizerColumn.offsetWidth + 2);
this.pressed = false; this.pressed = false;
this.startWidth = this.panel.scrollWidth; this.startWidth = this.panel.scrollWidth;
this.lastDownX = 0; this.lastDownX = 0;
@@ -194,6 +194,7 @@ class PanelResizerCtrl implements PanelResizerScope {
this.setWidth(this.widthBeforeLastDblClick || this.defaultWidth); this.setWidth(this.widthBeforeLastDblClick || this.defaultWidth);
} else { } else {
this.widthBeforeLastDblClick = this.lastWidth; this.widthBeforeLastDblClick = this.lastWidth;
console.log(this.currentMinWidth);
this.setWidth(this.currentMinWidth); this.setWidth(this.currentMinWidth);
} }
this.finishSettingWidth(); this.finishSettingWidth();

View File

@@ -136,7 +136,7 @@ $footer-height: 32px;
top: 0; top: 0;
right: 0; right: 0;
z-index: $z-index-panel-resizer; z-index: $z-index-panel-resizer;
width: 2px; width: 4px;
height: 100%; height: 100%;
position: absolute; position: absolute;
cursor: col-resize; cursor: col-resize;

View File

@@ -1,6 +1,6 @@
{ {
"name": "standard-notes-web", "name": "standard-notes-web",
"version": "3.8.5", "version": "3.8.6",
"license": "AGPL-3.0-or-later", "license": "AGPL-3.0-or-later",
"repository": { "repository": {
"type": "git", "type": "git",