-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
fixes: remove unfinished shapes, remove selectable and make shapes remain inside canvas #2809
Conversation
Click through transparent area have following warning.
I have tried this for both upper and lower canvas, but it does not solve the warning so maybe the issues is in fabric.js.
|
Thanks a lot for looking into these Mani! I'll give them a proper review in the next few days after 23.10.1 is out the door. |
Not sure if I'm allowed to ask for this here, sorry in advance if I'm not. |
Added key H for toggle mask because, M is already assigned to menu. |
Sorry for the delay here Mani - I've just gotten around to testing this. There seems to have been a regression in the positioning of images in the editor. I open the editor, select an image, and the image is offset to the right, with the right side cut off: If I use the zoom tool, I can move the image so it appears correctly, but when I resize the window it moves back to the right. It appears to have regressed in d44de20. Other notes:
|
Fixing these issues added more issues, I will push the changes considering above suggested review in next commit latest by weekend. :-) Todo - add shortcuts info to tooltip |
795008d
to
bc38f29
Compare
No problem Mani, please let me know when you're ready for another review. |
6058963
to
fad32cc
Compare
I have solved some of minor IO issues and it should be merged first then I will check other issues in next PR. |
d23ff2e
to
59692e8
Compare
Hi Mani, There's one issue that I think we should probably solve before merging this in, as it will break the text tool for people using git otherwise. I see you've pushed c689444, which has presumably fixed editing, but I hadn't actually noticed that issue. What I meant in my earlier comment is that when the text tool is used (below polygon), it's not possible to type text into it because the shortcuts are still active. Re 5a27427, we don't include the shortcuts inside translation strings - instead they are stored separately, so we can modify them depending on the platform, and change them without breaking translations. For example, the bold button:
|
add zoom to resize event listener
I have updated the shortcut implementation as suggested. The |
Thanks Mani, I'll merge this in now and we can make any further tweaks in follow-up PRs. One possible way to work around the RemoveFormatButton issue would be to only enable that shortcut when the IO mask editor is not visible. That said, I think users coming from the existing add-on may miss the existing shortcuts, that don't require the control key. Maybe an alternative solution would be to use the text:editing:entered and text:editing:exited events to set a editingTextElement flag, and only respond to those shortcut keys when the flag is not set? |
I will match the keyboard shortcut and use the text event in next PR. |
IO fixes
#2588
#2770
#2774
#2800
#2808