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

Ctrl+move for copy #4986

Closed
AlekseiKhariukov opened this issue Jul 3, 2024 · 2 comments
Closed

Ctrl+move for copy #4986

AlekseiKhariukov opened this issue Jul 3, 2024 · 2 comments
Assignees
Labels
feature request phase III Team G Test Cases Written Test cases has been written for that issue

Comments

@AlekseiKhariukov
Copy link
Collaborator

AlekseiKhariukov commented Jul 3, 2024

User should be able to create and move a duplicate of selected fragment by holding Ctrl key (Cmd for Mac) and moving the mouse cursor.

The new function should be activated if there is a selected fragment on the canvas, user holds Ctrl key and starts moving the mouse cursor. A copy of selected fragment should be created and start following the cursor movement -- the behavior should be similar to pasting from the clipboard.

Once the movement starts, the selection should be removed from the original fragment. The structure being moved should have the selection applied.

image

@AnnaKosol
Copy link
Contributor

Verified on https://nightly.test.lifescience.opensource.epam.com/KetcherDemoSA/4986-ctr-move-copy/index.html
Environment
Ketcher Version 2.25.0-rc.2 Build at 2024-09-30; 11:28:33
Indigo Version 1.24.0-rc.2.0-g5f2751d70-wasm32-wasm-clang-19.0.0
MacOs 15.0
Chrome Version 129.0.6668.71 (Official Build) (arm64)
Image

@AnnaKosol
Copy link
Contributor

Verified

Environment
https://rc.test.lifescience.opensource.epam.com/KetcherDemoSA/index.html
Ketcher Version 2.26.0-rc.1 Build at 2024-10-04; 18:45:04
Indigo Version 1.25.0-rc.1.0-g704673fcb-wasm32-wasm-clang-19.0.0
MacOs
Chrome 129.0.6668.71 (Official Build) (arm64)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request phase III Team G Test Cases Written Test cases has been written for that issue
Projects
None yet
Development

No branches or pull requests

4 participants