static void dm_moveMouseImmediate_direct_scaled(double x, double y) { int w = screenWidth(); moveMouseQuickly(scaleInt(x, w), scaleInt(y, w)); } static void dm_moveMouseImmediate_direct_scaled(int x, int y, int scaledWidth) { double ratio = doubleRatio(screenWidth(), scaledWidth); moveMouseQuickly(scaleInt(x, ratio), scaleInt(y, ratio)); }
Began life as a copy of #1019767
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, hpgrupgrauku, irmadwmeruwu, ishqpsrjomds, mqqgnosmbjvj, odhhsrjjbcgr, pyentgdyhuwx, pzhvpgtvlbxg, rjpzpeejafvs, snaazhdonpnp, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1019903 |
| Snippet name: | dm_moveMouseImmediate_direct_scaled - coordinates come from scaled-down screenshot |
| Eternal ID of this version: | #1019903/3 |
| Text MD5: | de9b16377f9bea67969618d857c3dc69 |
| Author: | stefan |
| Category: | javax / gui |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-11-30 21:56:50 |
| Source code size: | 358 bytes / 9 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 545 / 597 |
| Version history: | 2 change(s) |
| Referenced in: | [show references] |