Comments (13)
I have a fix. In %LOCALAPPDATA%\macintosh\app-1.0.2\resources\app\src\renderer\input.js line 46-47 change
mouseMoveX += inputEvent.dx;
mouseMoveY += inputEvent.dy;
to
mouseMoveX = inputEvent.dx;
mouseMoveY = inputEvent.dy;
It looks like the problem is the JS was taking mousemove events and using the absolute mouse position as a delta (hence the names dx and dy). The developer may have been confused by the mousemove event data variable names "offsetX/Y" which refers to the location of the mouse cursor in a DOM element (eg location offset to the element location) NOT offset from previous mouse location.
from macintosh.js.
Submitted change via PR #30
from macintosh.js.
This happens for me as well on a MacBook Pro running the latest MacOS 11 public beta (11.0 Beta (20A4300b)).
from macintosh.js.
For me, it's happening when drawing in Photoshop. Great app btw. Loving it!!!!!
from macintosh.js.
Same issue on a Windows 10 host. Seems like some kind of factor is occasionally applied to the axis depending on how big X and Y are.
from macintosh.js.
same issue
from macintosh.js.
Same problem. It seems like moving very slowly makes it happen slightly less.
from macintosh.js.
Same problem here as well
from macintosh.js.
Running version 1.04 on Ubuntu 20.04 and MATE. I'm seeing two cursors. They converge at the top left hand side of the window and they diverge more and more as the cursor moves further down and to the right.
from macintosh.js.
@johnblommers That is what I am seeing on Windows 10 so this sounds like a cross-platform issue.
When moving the cursor it rapidly moves between three points. The location that matches the real mouse location, and then two spots 2x and 3x the distance from the top left corner. When you stop moving the mouse the cursor may settle into any of these locations.
from macintosh.js.
Excellent. On Linux the offending file is at:
/usr/lib/macintosh.js/resources/app/src/renderer/input.js
The same edit as cited above fixes the problem. At lines 46-47:
mouseMoveX = inputEvent.dx;
mouseMoveY = inputEvent.dy;
from macintosh.js.
Working great, on macOS the offending file is at:
/Applications/macintosh.js.app/Contents/Resources/app/src/renderer/input.js
from macintosh.js.
@The-MAZZTer your fix worked for me experiencing the same issue on Windows 10 (2004).
from macintosh.js.
Related Issues (20)
- Hard disk authorization error trying to run software
- PowerPC computer Game Problem HOT 7
- Grammatical error in Credits window
- Changes to mounted img file disappear after reboot HOT 1
- Winx64 zip link wrong
- Make It Available On Android HOT 1
- The sound on my Macintosh.js is lagging.... HOT 2
- Scrolling Finder windows does not move the location widget
- Now it's not showing itself HOT 1
- Installing an app won't do anything?
- No window borders (on linux ?) HOT 4
- Raspberry support
- Suddenly not typing correctly
- [Linux] crash on startup (temporary fix included) HOT 2
- GitHub Links
- [Mac][Arm64] User folder 'macintosh.js' is not automatically created HOT 1
- Hangs on "Loading emulator dependencies" HOT 1
- Download links for macOS and Linux are old
- Recommend to change shortcuts on macOS
- Kkkkkk 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 macintosh.js.