Was : use menu to enter Zoom command mode and then click twice to specify opposite corners of the rectangle OR, press Z for the infix-zoom-command - where mouse position when you press Z is taken to be one of the corners of the rectangle
Is : Just use right mouse button (RMB) to click and drag to specify the two corners. Just like Cadence 😊
Thanks to the very impressive Chayan Deb - the Super CD 😊
Modesty itself:
There isn't really a step-by-step process to explain. I just searched the codebase for certain keywords like "button", "key", "if(key=='z')" etc, saw how the original functionality was implemented, and then found another set of keywords like "ButtonPressed" and "ButtonReleased" and modified the code that triggered everytime RMB was pressed and released.
No comments:
Post a Comment