-
-
Notifications
You must be signed in to change notification settings - Fork 205
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
[Bug] Changing BorderThickness will cause an exception to be displayed when nodes are selected #70
Comments
Hi, I created a PR for this. Can you please check it out and let me know if that's what you expected? Thanks! |
the PR is working |
Another question |
I merged the fix for border thickness and I replicated the selected brush issue, but I don't understand why it doesn't work as expected. |
Let me know if anyone wants to give it a try. |
Describe the bug
If BorderThickness is changed to a value not equal to 1, it will cause an abnormal display when the node is selected. If it is selected, the node will move slightly
Modifying BorderBrush will cause SelectedBrush to be modified together and the SelectedBrush modifications to be invalid
It is also not possible to change the Selected BorderThickness
To Reproduce
change ItemContainer style
Expected behavior
No displacement
Screenshots
![image](https://private-user-images.githubusercontent.com/42534870/263673501-770cc98f-e869-4b2f-a1d3-759af9eed12d.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ3ODk5ODAsIm5iZiI6MTcyNDc4OTY4MCwicGF0aCI6Ii80MjUzNDg3MC8yNjM2NzM1MDEtNzcwY2M5OGYtZTg2OS00YjJmLWExZDMtNzU5YWY5ZWVkMTJkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODI3VDIwMTQ0MFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTk5MzIxYTBjNzY5ZTQxMTBiNmFhYTg5NGQyMGRmMTRmNmMwY2M5ZmZlNzZlNWNjYzc4ZTI3ZWQ2OGYwNGE0YzEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.dyx3uD6_pN5nmZQd3TzgXeutChfO-ocSSnqJEMutO4I)
![image](https://private-user-images.githubusercontent.com/42534870/263673509-8cb5b558-cfc5-42b4-a635-1c3eaed3c53e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ3ODk5ODAsIm5iZiI6MTcyNDc4OTY4MCwicGF0aCI6Ii80MjUzNDg3MC8yNjM2NzM1MDktOGNiNWI1NTgtY2ZjNS00MmI0LWE2MzUtMWMzZWFlZDNjNTNlLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODI3VDIwMTQ0MFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTA3NjMxOGQ2ZmUzODBhYjc5ZWU2ZjhlYjg2ZDI0Njk4NWNkYzVmYzA3YzUxNGZjYjU2MjZmNmJmZDQ4ZmU4MTUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.hhckbXPJUr8AazT5sssZBJ8XS9bRjLCeQovpkL5cPxg)
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: