Giter VIP home page Giter VIP logo

Comments (5)

Zebartin avatar Zebartin commented on June 19, 2024

我恰好刚搞了个雷电9在尝试,出现这个问题是因为截屏时会按照竖屏方式(取决于调用requestScreenCapture时的屏幕状态……)截取,图片上下有大量空白区域
取消模拟器设置里的“强制横屏”应该能解决这个问题,具体怎么修改脚本我再想想……
除了这个问题以外还有另一个问题,device返回的width和height是相反的,我看看怎么改……
image

from autoxjs-scripts.

Zebartin avatar Zebartin commented on June 19, 2024

目前按以下设置后似乎可以正常运行:

  • 分辨率:手机版900*1600
  • 关闭自动旋转屏幕
  • 关闭强制横屏

from autoxjs-scripts.

czy-moyu avatar czy-moyu commented on June 19, 2024

目前按以下设置后似乎可以正常运行:

  • 分辨率:手机版900*1600
  • 关闭自动旋转屏幕
  • 关闭强制横屏

原来如此,明白了。

from autoxjs-scripts.

Zebartin avatar Zebartin commented on June 19, 2024

这两天应该能做到兼容“强制横屏”

from autoxjs-scripts.

Zebartin avatar Zebartin commented on June 19, 2024

横屏的UI变动有点超出意料,特别是咨询页面,暂时放弃适配了,目前必须竖屏(横边短竖边长)运行

from autoxjs-scripts.

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.