aiidalab / aiidalab-widgets-base

Reusable widgets for AiiDAlab applications
MIT License
7 stars 17 forks source link

StructureViewer: Add tooltip explaining how to zoom and translated the structure #362

Open superstar54 opened 2 years ago

superstar54 commented 2 years ago

System Information

latest version of 'aiidalab/aiidalab-docker-stack:latest'

Exact steps for others to reproduce the behavior

Expected results

Zoom in and out do not work.

yakutovicha commented 2 years ago

@superstar54 are you sure this does not work? For me, it is enough to keep the right button clicked and move the mouse.

superstar54 commented 2 years ago

@yakutovicha Thanks! It works. May I ask what is the button for translation? Maybe we can add a tooltip to help people find the right combination of the button and mouse.

yakutovicha commented 2 years ago

@yakutovicha Thanks! It works. May I ask what is the button for translation?

Yes, if you have a mouse, you need to click on the wheel and move the mouse.

Maybe we can add a tooltip to help people find the right combination of the button and mouse.

Sure. Can you take care of this?

superstar54 commented 2 years ago

Thanks. I will add the tooltip.