diff options
author | frankiebee <frankie.diamond@gmail.com> | 2017-11-01 03:01:10 +0800 |
---|---|---|
committer | frankiebee <frankie.diamond@gmail.com> | 2017-11-01 03:01:10 +0800 |
commit | 06a931f9884165941d693bca20273bbe64b622ac (patch) | |
tree | 2d3db44d6b2a88dedf0b50055f7a8f5033185687 | |
parent | c1d2a1226c5ba4e5cfe1eeae2f52a86b67fc7404 (diff) | |
download | tangerine-wallet-browser-06a931f9884165941d693bca20273bbe64b622ac.tar tangerine-wallet-browser-06a931f9884165941d693bca20273bbe64b622ac.tar.gz tangerine-wallet-browser-06a931f9884165941d693bca20273bbe64b622ac.tar.bz2 tangerine-wallet-browser-06a931f9884165941d693bca20273bbe64b622ac.tar.lz tangerine-wallet-browser-06a931f9884165941d693bca20273bbe64b622ac.tar.xz tangerine-wallet-browser-06a931f9884165941d693bca20273bbe64b622ac.tar.zst tangerine-wallet-browser-06a931f9884165941d693bca20273bbe64b622ac.zip |
ui - allow optional size for mascot
-rw-r--r-- | ui/app/components/mascot.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/app/components/mascot.js b/ui/app/components/mascot.js index 973ec2cad..3b0d3e31b 100644 --- a/ui/app/components/mascot.js +++ b/ui/app/components/mascot.js @@ -7,13 +7,13 @@ const debounce = require('debounce') module.exports = Mascot inherits(Mascot, Component) -function Mascot () { +function Mascot ({width = '200', height = '200'}) { Component.call(this) this.logo = metamaskLogo({ followMouse: true, pxNotRatio: true, - width: 200, - height: 200, + width, + height, }) this.refollowMouse = debounce(this.logo.setFollowMouse.bind(this.logo, true), 1000) |