Skip to content

Commit

Permalink
fix(xgplayer): fix bullet fontsize; publish [email protected]
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangxin92 committed Nov 28, 2018
1 parent 9e8b648 commit 5948ea2
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions packages/xgplayer/browser/index.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions packages/xgplayer/dist/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/xgplayer/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "xgplayer",
"version": "1.1.4-beta.5",
"version": "1.1.4-beta.6",
"description": "video player",
"main": "./dist/index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/xgplayer/src/control/makeBullet.js
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ class Bullet {
let el = document.createElement('div')
el.textContent = options.txt
el.style.color = options.color
el.style.fontSize = `${options.scale}em`
el.style.fontSize = `${20 * options.scale}px`
this.el = el
this.width = options.width
this.height = options.height
Expand Down

0 comments on commit 5948ea2

Please sign in to comment.