Giter Site home page Giter Site logo

Comments (7)

wnight9527 avatar wnight9527 commented on July 28, 2024

全屏接下来 是两边有黑屏区域的。有什么办法能和tap点击匹配吗。。。。点击是按左上角坐标轴横720纵,1280。截屏的就成了横1280纵720了。导致区域截图匹配并点击就有点麻烦。。不会是要一个个机型适配吧

from robothelper.

Jinnrry avatar Jinnrry commented on July 28, 2024

我有空看看先,以前没遇到过这种情况

from robothelper.

Jinnrry avatar Jinnrry commented on July 28, 2024

你是在竖屏的情况下启动应用,然后在竖屏情况下截取的图像?之前还真没考虑这种情况,一般游戏都是横屏的,截图都是直接按横屏处理的

from robothelper.

wnight9527 avatar wnight9527 commented on July 28, 2024

hhh,挂机类的刷刷刷的手游。。确实是竖屏。。。所以会出点问题。麻烦大佬兼容下

from robothelper.

wnight9527 avatar wnight9527 commented on July 28, 2024

希望截屏有参数选择按竖屏截取,获取竖屏模式的坐标。不然点击按竖屏,截图按横屏,兼容会疯的

from robothelper.

Jinnrry avatar Jinnrry commented on July 28, 2024

你可以先在这里调换横纵坐标顺序,后面有空可以优化一下这里的代码逻辑

from robothelper.

Jinnrry avatar Jinnrry commented on July 28, 2024

#28

截图函数添加了自动判断屏幕方向

from robothelper.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.