chanhx / crabviz

🦀 A LSP-based interative call graph generator
Apache License 2.0
674 stars 22 forks source link

For better experience for usage #10

Closed huang12zheng closed 1 year ago

huang12zheng commented 1 year ago

When I click on an item, it becomes relevant only to that item. But if I click on a blank space (or scroll the canvas), it becomes all relevant.

Here are some ideas:


当我点击一项时,它变为只会这一项有关. 但如果我点空白的地方(或者拉动画布),就会变为全部相关. 我有一些想法:

这可能是#9的一个复制

chanhx commented 1 year ago

I just made a commit (9cbd72c19405cb48cab9185a760a69bea5dd5145) to distinguish between mouse clicks and drags. Now the focus won't get cleared when dragging the graph.

huang12zheng commented 1 year ago

I look forward to your release to the vscode marketplace

chanhx commented 1 year ago

Hey, version 0.1.1 is released, which includes a fix for the dragging issue. Hope you like it!