8000 fix: Fix bug that prevented dismissing the widgetdiv in a mutator workspace. by gonfunko · Pull Request #8600 · google/blockly · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

fix: Fix bug that prevented dismissing the widgetdiv in a mutator workspace. #8600

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Oct 2, 2024

Conversation

gonfunko
Copy link
Contributor

The basics

The details

Resolves

Fixes #8599

Proposed Changes

This PR updates WidgetDiv.hideIfOwnerIsInWorkspace() to hide the widget div if its owner is an indirect child of the given workspace, e.g. the given workspace is the root workspace but the widget div is owned by a child of a mutator workspace. AFAIK workspaces are only ever nested one level deep in practice, but I'm not aware of anything that enforces that, so it attempts to walk up an arbitrarily deep workspace hierarchy.

@gonfunko gonfunko requested a review from a team as a code owner September 27, 2024 16:14
@gonfunko gonfunko requested a review from cpcallen September 27, 2024 16:14
@github-actions github-actions bot added the PR: fix Fixes a bug label Sep 27, 2024
@gonfunko gonfunko merged commit a4b5227 into rc/v12.0.0 Oct 2, 2024
10 checks passed
@gonfunko gonfunko deleted the mutator-chaff branch October 2, 2024 15:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR: fix Fixes a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0