10000 Bump to compatible theme. · pdg137/python-editor-next@36a8303 · GitHub
[go: up one dir, main page]

Skip to content

Commit 36a8303

Browse files
Bump to compatible theme.
1 parent e3ddb11 commit 36a8303

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ _steps:
3333
install_dependencies: &install_dependencies
3434
run: npm ci --cache .npm-cache && sudo npm i -g --registry https://npm.pkg.github.com/microbit-foundation @microbit-foundation/website-deploy-aws@0.2.0 @microbit-foundation/website-deploy-aws-config@0.4.2 @microbit-foundation/circleci-npm-package-versioner@1
3535
install_theme: &install_theme
36-
run: npm install --no-save --registry https://npm.pkg.github.com/microbit-foundation @microbit-foundation/python-editor-next-microbit@0.1.0-dev.37
36+
run: npm install --no-save --registry https://npm.pkg.github.com/microbit-foundation @microbit-foundation/python-editor-next-microbit@0.1.0-dev.39
3737
update_version: &update_version
3838
run: npm run ci:update-version
3939
build: &build

src/editor/codemirror/structure-highlighting/view.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,8 @@ const positionsForNode = (
225225
const leftIndent = depth * indentWidth;
226226
const left = leftEdge + leftIndent;
227227
const mainCursor = state.selection.main.head;
228+
// We only want the deepest node marked as active, not every node
229+
// that contains the cursor.
228230
const cursorActive = mainCursor >= start && mainCursor <= end;
229231
return new Positions(top, left, height, cursorActive);
230232
};

0 commit comments

Comments
 (0)
0