From 898dd4425320d632fc53d28068db334700a64024 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Mon, 18 Jun 2018 14:48:26 +0200 Subject: img ops!! --- app/client/modules/pix2pixhd/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/client/modules/pix2pixhd') diff --git a/app/client/modules/pix2pixhd/index.js b/app/client/modules/pix2pixhd/index.js index 331fe01..75c4d7f 100644 --- a/app/client/modules/pix2pixhd/index.js +++ b/app/client/modules/pix2pixhd/index.js @@ -12,11 +12,11 @@ import Pix2PixHDLive from './views/pix2pixhd.live' class router { componentWillMount(){ actions.system.changeTool('pix2pixhd') - document.body.style.backgroundImage = 'linear-gradient(' + (util.randint(40)+40) + 'deg, #fde, #ffe)' + document.body.style.backgroundImage = 'linear-gradient(' + (util.randint(40)+40) + 'deg, #def, #dfe)' } componentWillReceiveProps(){ actions.system.changeTool('pix2pixhd') - document.body.style.backgroundImage = 'linear-gradient(' + (util.randint(40)+40) + 'deg, #fde, #ffe)' + document.body.style.backgroundImage = 'linear-gradient(' + (util.randint(40)+40) + 'deg, #def, #dfe)' } render(){ return ( -- cgit v1.2.3-70-g09d2