yakomaxa / PyMOL-Wasm

PyMOL-wasm port's binary and html/javascript code
17 stars 1 forks source link

Shift key should be enabled #24

Open yakomaxa opened 1 year ago

yakomaxa commented 1 year ago

When drag command is executed it recognizes shiftKey to discriminate translation and drag (moving a part of molecules). This should be enabled to allow user to edit structures. But this should be implemented after I refactor the mouse control part, which is complicated enough at this moment.

yakomaxa commented 1 year ago

Lack of shift key action is also affecting the functionality to select the area by square.

yakomaxa commented 1 year ago

debugging.html now have shiftKey enabled. Quite dirty and complicated. I should have enough time to refactor mouse interaction part of javascript.

yakomaxa commented 1 year ago

Area selection is not working correctly. It select more residues than selected by rectangle.