-
Notifications
You must be signed in to change notification settings - Fork 67
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
Keyboard shortcut for changing image slices #660
Comments
We would need to add a notion of "active view" in order for this to work, otherwise such a keyboard shortcut would change all slices. I'm thinking of the "last interacted/clicked view" should correspond to the active view. |
Where should we add this ? in the |
My thoughs exactly. |
This was referenced Oct 24, 2024
Closed
completed by #679 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
I would like to add a feature to have some keyboard shortcut to change image slices.
I added the keyboard shortcut in
config.ts
andconstant.ts
, but I have an issue when I need to put some code inactions.ts
.To change the slice, I need to update the slice config, and to do so, I need the
viewID
andimageID
.imageID
I can get withuseCurrentImage
but the problem is I don't know how I could access theviewID
because it's specific to eachSliceViewer
.In earlier version of VolView, this code was in
VtkTwoView
. Should I put it inSliceViewer
orVtkSliceViewer
, and put a placeholder inaction.ts
(just to have the description in the Keyboard Shortcut panel) ?The text was updated successfully, but these errors were encountered: