Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

Commit 1cf30cd

Browse files
committed
Fix for Hiding of all resizable divs during relaunch after setting no distractions. Should target only bottom-panel marked divs.
1 parent 72d35ac commit 1cf30cd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/utils/Resizer.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,8 @@ define(function (require, exports, module) {
225225
resizerCSSPosition = direction === DIRECTION_HORIZONTAL ? "left" : "top",
226226
contentSizeFunction = direction === DIRECTION_HORIZONTAL ? $resizableElement.width : $resizableElement.height;
227227

228-
if (PreferencesManager.get(PREFS_PURE_CODE)) {
228+
if (PreferencesManager.get(PREFS_PURE_CODE) &&
229+
($element.hasClass("bottom-panel") || $element.hasClass("sidebar"))) {
229230
elementPrefs.visible = false;
230231
}
231232

0 commit comments

Comments
 (0)