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

Selection rectangle reacts on clicking text to the right of inherits instead of text to the left #6409

Open
Enyium opened this issue Oct 1, 2024 · 0 comments
Labels
a:live preview The Live preview of slintpad or the LSP (mT,bO) need triaging Issue that the owner of the area still need to triage

Comments

@Enyium
Copy link
Contributor

Enyium commented Oct 1, 2024

Consider this SlintPad demo:

export component AppWindow inherits Window {
    width: 200px;
    height: self.width;

    Rectangle {
        width: 100px;
        height: self.width;
    }
}

Clicking the different spots behaves like this:

improper.mp4

I think this is counterintuitive and badly discoverable. Clicking on the identifier to the left of inherits should be what changes the selection rectangle.

@ogoffart ogoffart added need triaging Issue that the owner of the area still need to triage a:live preview The Live preview of slintpad or the LSP (mT,bO) labels Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a:live preview The Live preview of slintpad or the LSP (mT,bO) need triaging Issue that the owner of the area still need to triage
Projects
None yet
Development

No branches or pull requests

2 participants