triwinds / ns-emu-tools

一个用于安装/更新 NS 模拟器的工具
GNU Affero General Public License v3.0
4.22k stars 150 forks source link

可以记忆上次设置的窗口大小吗? #58

Closed yw2048 closed 1 year ago

yw2048 commented 1 year ago

之前的窗口大小挺好的,现在最新版窗口太小了,这次调节好了下次打开又会恢复到很小的窗口状态

triwinds commented 1 year ago

这个功能在 0.4.0 应该就已经支持了,上传一下日志?

yw2048 commented 1 year ago

这个功能在 0.4.0 应该就已经支持了,上传一下日志?

我就是更新0.4.0之后不能了,之前好像可以 aria2.log ns-emu-tools.log

triwinds commented 1 year ago

你是系统的显示设置里面开了缩放吗? image

yw2048 commented 1 year ago

你是系统的显示设置里面开了缩放吗? image

对的,但是这没什么影响吧,我每次改完再打开窗口又变回默认了

triwinds commented 1 year ago

有的,这样 js 拿到的 size 是不正确的。 试试看这个 ci build: https://github.com/triwinds/ns-emu-tools/actions/runs/5038324838

yw2048 commented 1 year ago

有的,这样 js 拿到的 size 是不正确的。 试试看这个 CI build: https://github.com/triwinds/ns-emu-tools/actions/runs/5038324838

窗口确实变大了,但是仍然不能记录上次退出时的窗口大小

triwinds commented 1 year ago

浏览器和 webview 的行为还不一样... 再试试这个吧: https://github.com/triwinds/ns-emu-tools/actions/runs/5046746679

yw2048 commented 1 year ago

浏览器和 webview 的行为还不一样... 再试试这个吧: https://github.com/triwinds/ns-emu-tools/actions/runs/5046746679

现在会记录了,但比上次关闭时的窗口小一点点。 关闭前: 关闭前 再次打开: 再次打开 我没有动鼠标的滚轮

triwinds commented 1 year ago

再试试这个? https://github.com/triwinds/ns-emu-tools/actions/runs/5047992254

yw2048 commented 1 year ago

再试试这个? https://github.com/triwinds/ns-emu-tools/actions/runs/5047992254 可以了,很完美了

triwinds commented 1 year ago

Fixed in 0.4.1