Skip to content

v1.5.3-210723

Compare
Choose a tag to compare
@DoodleBears DoodleBears released this 22 Jul 17:14
· 219 commits to doodle_bear since this release

【版本同步至主仓库v1.5.3】

【210723-自定义弹幕停留时间】

✨ 功能:

  1. 支持自定义弹幕停留时间——默认为0(持续停留)
    • 弹幕移除动画支持自定义(区别于之前的 [is-deleted] 标记)该动画作用于实际删除前
    • 弹幕移除动画自适应调整——和原版弹幕进入效果一致,在弹幕发送速度过快时不会显示动画(效果见图)
  2. 竖排文字版本也同步更新了
    • 支持自定义左右侧进弹幕
    • 支持自定义弹幕停留时间
    • 支持图片插入方式
    • 等横排文字的内容

✨ 优化:

  1. 首页新增测试tab,可以调整样式生成器界面的弹幕发送速度
  2. CSS 现在可以通过 [is-admin] 来判断该弹幕的发送者是否有管理员身份(可通过CSS定义同时兼具管理员和舰队的用户以哪种样式呈现弹幕)

✨ 修复:

  1. 表情包rank功能——修复之前设置rank不能达到舰长限定表情包的效果

✨ 说明:

当弹幕满足实际删除条件时(①到达指定停留时间②超出弹幕数量限制),会在item上相继添加[leave], [collapse]属性后相继删除 (可自行定义CSS的transition动画)

  1. 添加[leave] —— 作用于 弹幕item 和 itemOffset (用于平滑移动弹幕列表,效果见图)
  2. 添加[collapse]——作用于 弹幕item
  3. 删除[leave]
  4. 删除[collapse]

【详细改动说明】
https://www.yuque.com/doodle-irifi/ueaigm/vz5mt5

【建议下载方式 - 因为小更新会放上面】
镜像下载地址:https://pan.baidu.com/s/13NBx5dp_ba-gshrZ8ZMKLA
提取码:kuma


[Version synchronization to main repository v1.5.3

【210703-Customizing Message Dwell Time】

✨ Feature.

  1. Support custom message stay time - default is 0 (continuous stay)
    • Message removal animation can be customized by CSS (different from the previous [is-deleted] tag) the animation works before the actual deletion
    • Message removal animation adaptive adjustment - consistent with the original message entry effect, the animation will not be displayed when the message is sent too fast (see picture for effect)
  2. Vertical text version is also updated at the same time
    • Support customizing the left and right side into the message
    • Support custom message dwell time
    • Support image insertion method
    • and other horizontal text content

✨ Improvements.

  1. New test tab on the home page, you can adjust the speed to send messages in the style generator interface
  2. CSS can now use [is-admin] to determine if the sender of the message is admin (CSS can be used to define the message style for users who are both admins and member)

✨ Fix.

  1. Danmaku image rank function - fix the previous set rank can not achieve the effect of allowing only captain user to send

✨ Description.

When the message meets the actual deletion conditions (① reach the specified stay time ② exceed the number of messages limit), it will be successively deleted after adding [leave], [collapse] attributes on the item one after another (you can define your own CSS transition animation)

  1. Add [leave] - on message item and itemOffset (for smoothly moving the list of messages, see image)
  2. Add [collapse] - on the message item
  3. delete[leave]
  4. delete[collapse]

【Update detail】
https://www.yuque.com/doodle-irifi/ueaigm/vz5mt5

【Suggest download】
Mirror download address: https://pan.baidu.com/s/13NBx5dp_ba-gshrZ8ZMKLA
Extraction code: kuma