Comments (2)
Looking at it further, I think the problem is that the code takes the coordinates of the center of the circle in the context of the FF window and then moves the mouse to those coordinates. However I think SetCursorPos
uses system display as its baseline, not the FF window. In order to achieve the correct behavior using that method, I think you would need to somehow figure out where the FF window lives and then do some math.
Alternately if it is possible to check where the mouse position is in the FF window, you could find the difference between the mouse position in the FF window and the desired position to move it to within the FF window. Then, figure out the global mouse x/y, and apply the same difference to it.
For example, if the center of the pie should be at (50,50) in the FF window, but the mouse is at (30,60), the desired change would be (20,-10). Then, you find the global mouse x,y is say (1020, 986). So you set the mouse cursor position to (1040, 976)
from tpie.
I didn't realize until just now that this is a duplicate of #23. Sorry about that!
Closing this one and condensing the above comments into one comment in the other user's issue.
from tpie.
Related Issues (20)
- Suggestion: Click on nested icon HOT 1
- [BUG] Quick Action does not follow "Selection Background" setting HOT 1
- [Bug]: When the only items are nested rings, it forces one to be a quick action (which can't be opened). HOT 4
- [BUG] is not a valid gear set number. HOT 1
- Suggestion : Add emote as quick action type HOT 1
- Bug / Suggestion : Material UI not showing Job Icons HOT 2
- Suggestion: Binding Pie Wheels to Jobs HOT 1
- Suggestion: Multiple keybinds for single ring HOT 1
- Allow toggleable rings to be closed without selection an option HOT 1
- Bug (feature?): Triggering a macro through a tpie wheel makes using other macros through tpie impossible for the duration the macro is running.
- Suggestion: Quick Action is last used
- Enhanced RDM Melee Actions
- Rings are no longer displayed HOT 1
- How do I make nested rings? HOT 1
- Allow for rings to be triggered through commands HOT 2
- TPie kinks related to set names? HOT 1
- Does not work at all any more HOT 8
- TPie fails to install HOT 1
- Request For Input Enhancements HOT 1
- BUG : Quick actions dont work anymore HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tpie.