forked from 9channel/dd-danmaku
-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
自定义弹幕大小和速度 #14
Merged
Merged
自定义弹幕大小和速度 #14
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
反复Debug现在应该完全正常了 |
弹幕行数限制不知道是哪个变量 Danmaku那个Wiki实在找不到资料 |
网络突然故障导致刷了好几个提交😭 |
Izumiko
reviewed
Nov 20, 2023
Izumiko
reviewed
Nov 20, 2023
删掉弹幕信息的按钮的话,把匹配的信息在搜索完弹幕之后打印到log里吧 |
我本来是这么写的 但是那条log不知道为什么一直出不来 貌似还有其它问题 |
万能的reload有点好用 |
创建Danmaku实例后,它会在container下面插入一个canvas,你可以限制一下canvas的style height和height,来控制高度。比如占屏幕高度的0.5或者0.3之类的。 看了一下Danmaku的代码,resize API不接受参数,有点尴尬,直接手动指定height的话,要是devicePixelRatio不为1还得换算一下 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Sry , 改了两个图标,添加了自定义弹幕大小和速度的功能