Giter Site home page Giter Site logo

显示bug about plugin-ship-info HOT 12 CLOSED

poooi avatar poooi commented on June 9, 2024
显示bug

from plugin-ship-info.

Comments (12)

KochiyaOcean avatar KochiyaOcean commented on June 9, 2024

只能显示总入渠时间,不能随修理进度更新
入渠时间已经是排序项目了

from plugin-ship-info.

Ayaphis avatar Ayaphis commented on June 9, 2024

这是要把已入渠的船的修理时间标记为0是吧
这不是BUG,你是在需求新feature

from plugin-ship-info.

jackarcher avatar jackarcher commented on June 9, 2024

额 昨天晚上太晚没写清楚, 新功能是下面写的希望添加里的内容,
bug为:25/50应为中破 染色标记为小破

from plugin-ship-info.

Ayaphis avatar Ayaphis commented on June 9, 2024

这样。。。为了便于阅读,舰娘信息相邻之间做了不同的配色表现处理,所以在这一行中破就是这样显示的。。。不过似乎确实不便于判断。。。

from plugin-ship-info.

jackarcher avatar jackarcher commented on June 9, 2024

辛苦各位dalao Orz

from plugin-ship-info.

jackarcher avatar jackarcher commented on June 9, 2024

if nowhp < 0.25 * maxhp
repairColor = 'rgba(255, 0, 0, 0.4)'
else if nowhp < 0.5 * maxhp
repairColor = 'rgba(255, 65, 0, 0.4)'
else if nowhp < 0.75 * maxhp
repairColor = 'rgba(255, 255, 0, 0.4)'
else
repairColor = 'transparent'

我看代码里好像是没有边界值..? 25<0.5*50好像就直接去下一个分支了吧..没用过这个语言不知道对不对..

from plugin-ship-info.

KochiyaOcean avatar KochiyaOcean commented on June 9, 2024

(手动目瞪口呆
谁写的这个出来背锅吧(。

from plugin-ship-info.

jackarcher avatar jackarcher commented on June 9, 2024

额..不太会用git..话说是不是要先watch才能发pull request啊..昨天晚上还想直接改了 但是不会弄Q.Q

from plugin-ship-info.

Ayaphis avatar Ayaphis commented on June 9, 2024

(手动目瞪口呆
竟然真的是代码错了。。。

from plugin-ship-info.

Ayaphis avatar Ayaphis commented on June 9, 2024

不是watch,不知道要不要fork,然后直接改了PR就行

from plugin-ship-info.

Ayaphis avatar Ayaphis commented on June 9, 2024

你PR错地方了=。=

from plugin-ship-info.

jackarcher avatar jackarcher commented on June 9, 2024

好吧..我看已经被搞定了 本来一直当网盘用的..所以不太熟练...

from plugin-ship-info.

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.