Comments (3)
I'm having the same issue.
Looking at the code, it seems the most likely culprit is this bit.
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)
You could also use something like this method in order to avoid all the math: ClientToScreen
from tpie.
It is as you say.
I'll take a look at it eventually, for now disable the option 🙏 .
from tpie.
This is officially my first c# commit ever. Hopefully it's useful to you :)
from tpie.
Related Issues (20)
- [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 2
- Respect Dalamud global font scale option HOT 1
- Macro Icons, and possible crash HOT 3
- Custom Icons or Penumbra Interface Collection Icon Override 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.