aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorFrankie <frankie.diamond@gmail.com>2017-11-08 02:42:10 +0800
committerGitHub <noreply@github.com>2017-11-08 02:42:10 +0800
commitaa538c52a747b4ab0ed6cdf3d7b7acf5a2972f86 (patch)
tree5b2b893c4c00a14daa9724ba28ff7dc8f504ea10 /ui
parentacc973d543ac65f8db980c0007c248c509345411 (diff)
parent08867874ccea02dab9755ba6b0fc4221bb1dbf00 (diff)
downloadtangerine-wallet-browser-aa538c52a747b4ab0ed6cdf3d7b7acf5a2972f86.tar.gz
tangerine-wallet-browser-aa538c52a747b4ab0ed6cdf3d7b7acf5a2972f86.tar.zst
tangerine-wallet-browser-aa538c52a747b4ab0ed6cdf3d7b7acf5a2972f86.zip
Merge pull request #2518 from MetaMask/mascara-first-screen
Mascara first screen
Diffstat (limited to 'ui')
-rw-r--r--ui/app/components/mascot.js6
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)