diff --git a/services/web/frontend/js/ide/editor/directives/aceEditor.js b/services/web/frontend/js/ide/editor/directives/aceEditor.js index dc11bbe84e..80abc95f9f 100644 --- a/services/web/frontend/js/ide/editor/directives/aceEditor.js +++ b/services/web/frontend/js/ide/editor/directives/aceEditor.js @@ -556,7 +556,6 @@ App.directive('aceEditor', function( let currentFirstVisibleRow = null const emitMiddleVisibleRowChanged = () => { - if (!window.user.alphaProgram) return const firstVisibleRow = editor.getFirstVisibleRow() if (firstVisibleRow === currentFirstVisibleRow) return diff --git a/services/web/frontend/js/ide/outline/OutlineManager.js b/services/web/frontend/js/ide/outline/OutlineManager.js index 0d59a7efa4..4369a3f77a 100644 --- a/services/web/frontend/js/ide/outline/OutlineManager.js +++ b/services/web/frontend/js/ide/outline/OutlineManager.js @@ -39,7 +39,6 @@ class OutlineManager { }) scope.$on('cursor:editor:update', (event, cursorPosition) => { - if (!window.user.alphaProgram) return if (this.ignoreNextCursorUpdate) { this.ignoreNextCursorUpdate = false return @@ -49,7 +48,6 @@ class OutlineManager { }) scope.$on('scroll:editor:update', (event, middleVisibleRow) => { - if (!window.user.alphaProgram) return if (this.ignoreNextScroll) { this.ignoreNextScroll = false return diff --git a/services/web/frontend/stylesheets/app/editor/outline.less b/services/web/frontend/stylesheets/app/editor/outline.less index 98637fae68..342a1fc13e 100644 --- a/services/web/frontend/stylesheets/app/editor/outline.less +++ b/services/web/frontend/stylesheets/app/editor/outline.less @@ -182,7 +182,7 @@ } .outline-item-link-highlight { - font-weight: bold; + background-color: @outline-highlight-bg; } .outline-caret-icon { diff --git a/services/web/frontend/stylesheets/core/ol-light-variables.less b/services/web/frontend/stylesheets/core/ol-light-variables.less index 214666686e..1b1214e7b7 100644 --- a/services/web/frontend/stylesheets/core/ol-light-variables.less +++ b/services/web/frontend/stylesheets/core/ol-light-variables.less @@ -60,6 +60,7 @@ // File outline @outline-line-guide-color: @ol-blue-gray-1; @outline-header-hover-bg: @file-tree-item-hover-bg; +@outline-highlight-bg: mix(@file-tree-bg, @ol-blue-gray-1); @vertical-resizable-resizer-bg: @ol-blue-gray-1; @vertical-resizable-resizer-hover-bg: @file-tree-item-hover-bg; diff --git a/services/web/frontend/stylesheets/core/variables.less b/services/web/frontend/stylesheets/core/variables.less index 9c56eedb61..a57b648289 100644 --- a/services/web/frontend/stylesheets/core/variables.less +++ b/services/web/frontend/stylesheets/core/variables.less @@ -1020,7 +1020,7 @@ @outline-expand-collapse-color: @ol-blue-gray-2; @outline-no-items-color: @ol-blue-gray-2; @outline-header-hover-bg: @ol-blue-gray-6; - +@outline-highlight-bg: tint(@file-tree-bg, 15%); @vertical-resizable-resizer-bg: @ol-blue-gray-5; @vertical-resizable-resizer-hover-bg: @ol-blue-gray-6;