From 900c53f499132dc6d0582bfc1e761b43c7ceeab8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?gr=C3=A9goire=20parant?= Date: Wed, 6 Oct 2021 15:36:42 +0200 Subject: [PATCH 1/6] Update icon message and profile (#1504) - Add new icon profil pixel - Add new icon message pixel - Migrate message icon in svelt menu Signed-off-by: Gregoire Parant --- front/dist/resources/objects/talk.png | Bin 516 -> 389 bytes front/src/Components/Menu/MenuIcon.svelte | 13 ++++++++++++- front/src/Components/images/logo-WA-min.png | Bin 2856 -> 0 bytes front/src/Components/images/logo-WA-pixel.png | Bin 0 -> 1270 bytes .../Components/images/logo-message-pixel.png | Bin 0 -> 389 bytes front/src/Phaser/Components/OpenChatIcon.ts | 17 ----------------- front/src/Phaser/Game/GameScene.ts | 13 ------------- 7 files changed, 12 insertions(+), 31 deletions(-) delete mode 100644 front/src/Components/images/logo-WA-min.png create mode 100644 front/src/Components/images/logo-WA-pixel.png create mode 100644 front/src/Components/images/logo-message-pixel.png delete mode 100644 front/src/Phaser/Components/OpenChatIcon.ts diff --git a/front/dist/resources/objects/talk.png b/front/dist/resources/objects/talk.png index bc06d3b0edc43646c597d26e68bcafa0d13798fe..794a6e9d40a6d203d91131311420613b4e2f5191 100644 GIT binary patch literal 389 zcmeAS@N?(olHy`uVBq!ia0vp^4j|0I1|(Ny7TyC=oCO|{#S9GGLLkg|>2BR01_nlR zPZ!6KiaBp*-{n1IAkZv*gkuBy8^+6r38MZI1d9{{|j~3k**sV*h-uaxgF0chC8~|9l2XhXssY(FQ+D0!(HPoTNTQ{F5gvNVXrv{WU9rq)Srx3nF5bz%n}m>hAV@otDnm{ Hr-UW|@Ftk? delta 504 zcmVGwf3`_P zK~z|U?Uz5V!B7~+pL<=2lm!ck8hir@R%Rc-W@0B{FOist#AK0JO$M8RLE;0jiA_RC zECvRNbJI8XG@5ADpQd-{FL~3xJ*THn&-1pY{Q|&XG2d1TfGy&NA9>gB_fve5)oO+7 z^=f!TCP@=Ws=Dx!r`#FBGT!! zD$isxsyv&`zAXTDVctM?bUGaj1_M>YWHN!z=cE1oeoxk1E*HZCACJf9e?;tdJBnN8 z^Epzf6dkG6YS?bK==b}^Zx28q5HQ^L?o!)sw`p--E|<*dbh1b!^6}-qP$=jx9( zluD(iY#DP-)2Y54ZnvAoVll&C zNB5%F>nT$|8jbY&zJ8HMP9cgSJD<-aqS0t*_BZuCv0ksyY&I2p^)PKFxUHMbhDD=M uYwX~W%jKBM<^e4ZcPX;MDQ}0000 - import logoWA from "../images/logo-WA-min.png" + import logoWA from "../images/logo-WA-pixel.png" + import logoTalk from "../images/logo-message-pixel.png" import {menuVisiblilityStore} from "../../Stores/MenuStore"; + import {chatVisibilityStore} from "../../Stores/ChatStore"; import {get} from "svelte/store"; function showMenu(){ menuVisiblilityStore.set(!get(menuVisiblilityStore)) } + function showChat(){ + chatVisibilityStore.set(true); + } function onKeyDown(e: KeyboardEvent) { if (e.key === "Tab") { @@ -18,17 +23,23 @@
open menu + open menu