question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Eraser assigns to all mouse buttons

See original GitHub issue

When I try to assign eraser tool to right mouse button using cornerstoneTools.eraser.enable(element); cornerstoneTools.eraser.activate(element, 4); it also assigns to mouse wheel and left mouse button. It causes other tools, that assigned to mouse wheel or RMB works strange (drawings can disappear). Am I doing something wrong or this is kinda bug? https://puu.sh/BXPIX/9f3ff21b39.gif cornerstone-math - 0.1.6 - 2017-06-09 cornerstone-tools - 2.4.0 - 2018-10-25 cornerstone-core - 2.2.7 - 2018-10-25

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
dannyrbcommented, Feb 5, 2019

@all-contributors please add @rodrigolabs for some awesome code

0reactions
allcontributors[bot]commented, Feb 5, 2019

@dannyrb

I’ve put up a pull request to add @rodrigolabs! 🎉

Read more comments on GitHub >

github_iconTop Results From Across the Web

eraser brush assign to mouse/stylus button hold and release?
I was wondering if it was possible to assign a brush, in the is case an eraser, to a button on the stylus...
Read more >
Is it possible to make mouse's right click button work as the ...
On Mac I'd use SteerMouse, which can assign button actions per app, but would still be somewhat difficult to set it to hit...
Read more >
How to switch the Pen mode and eraser mode? | XPPen
1. Choose the button 1 or 2 · 2. Set Mouse Command as pen/eraser toggle. · 3. Click “Apply” and “OK” buttons to...
Read more >
How do I reassign mouse buttons? - Microsoft Support
To reassign a button across all applications · Using the mouse that you want to configure, start Microsoft Mouse and Keyboard Center. ·...
Read more >
Assigning AutoCAD Commands to Mouse Buttons - YouTube
Two weeks ago I was streaming here about optimizing your drawings in AutoCAD to be more efficient and one of you guys asked...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found