Skip to content
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

Limit light selection to "widget-colored" widgets only #11358

Merged
merged 5 commits into from
Oct 21, 2024

Conversation

farmaazon
Copy link
Contributor

Pull Request Description

Fixes #10862

Before, we set selection to whit on entire node, but this looked bad in Table Widget.

Screencast.From.2024-10-18.15-23-40.webm

Important Notes

Checklist

Please ensure that the following checklist has been satisfied before submitting the PR:

  • [ ] The documentation has been updated, if necessary.
  • Screenshots/screencasts have been attached, if there are any visual changes. For interactive or animated visual changes, a screencast is preferred.
  • All code follows the
    Scala,
    Java,
    TypeScript,
    and
    Rust
    style guides. In case you are using a language not listed above, follow the Rust style guide.
  • [ ] Unit tests have been written where possible.
  • [ ] If meaningful changes were made to logic or tests affecting Enso Cloud integration in the libraries,
    or the Snowflake database integration, a run of the Extra Tests has been scheduled.
    • If applicable, it is suggested to paste a link to a successful run of the Extra Tests.

@farmaazon farmaazon added --bug Type: bug -gui labels Oct 18, 2024
@farmaazon farmaazon self-assigned this Oct 18, 2024
@@ -132,5 +132,9 @@ export const widgetDefinition = defineWidget(
outline: none;
background: var(--color-widget-focus);
}

&:deep(::selection) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:deep is not needed; Vue doesn't scope pseudo-element selectors.

@farmaazon farmaazon added the CI: Ready to merge This PR is eligible for automatic merge label Oct 18, 2024
@mergify mergify bot merged commit 7718734 into develop Oct 21, 2024
36 checks passed
@mergify mergify bot deleted the wip/farmaazon/table-widget-styling branch October 21, 2024 13:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
--bug Type: bug -gui CI: Ready to merge This PR is eligible for automatic merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Table Widget: Styling when editing the column is very hard to see what is selected and the caret position.
3 participants