From 4de9b8ba401e6b21c28da78604406c9c5037769f Mon Sep 17 00:00:00 2001 From: Gregoire Parant Date: Wed, 3 Feb 2021 23:11:33 +0100 Subject: [PATCH] Fix icon discussion - Fix size of discussion icon - Update x and y when page is resize - Fix blanc link in chat --- front/dist/resources/objects/talk.png | Bin 7940 -> 516 bytes front/dist/resources/style/style.css | 2 +- front/src/Phaser/Components/OpenChatIcon.ts | 6 ++---- front/src/Phaser/Game/GameScene.ts | 1 + 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/front/dist/resources/objects/talk.png b/front/dist/resources/objects/talk.png index b9ecdb3043542e1f53dbbb99ca99ba183a2c52b1..bc06d3b0edc43646c597d26e68bcafa0d13798fe 100644 GIT binary patch literal 516 zcmV+f0{i`mP)M1tnrPLZrg!KsdDFf9TP^R}n`0>EG~-&PBN zE#ihBdDrjvQ+$%uYK80dYIsB@NfP@sUayz^75&4o3zPGI3ezlRvl&ED)EvH2si52K znkyn03?dW?X|{Vj9@^S9!O;~_tyWPi7L~kQE|ZU(d_Ip>tM#@B-I|EU<2ap8N}fn0 z6dz@h$t1$zu(=}A>9i`(WHPEeo6Wv00Cr*CKz4LG9SjBoRl{U5fzRio{r!GV)?6+Z z!vi0W$LB=sb~}n&=JPpHsT3Wl)oR#ox9Io##%~WmAP_Lz_wG{LZntT1UoMx->2$J4 zB=Yg)zECLWFXi$~$dpQ@r)+oy%|~>xSYSLJV>ldAemERRkWmCdpck9N;ZV-6*XydY zr_-sv9d5Uq#bPnTUq|<%*Xt=$KN^kn`o4aVM^e4ZcPX;MDQ}0000 literal 7940 zcmeG>c{r47-;bP*w*{v<<&>CC3vVQ+ge+q^MUpHLvX0(DWvgsym?5DRNm?x9kdRQ8 z8QG?&6fs7!k7=x9n;8r0Nci zW?la4ORzkwwB%Xgr&CC3o z$bX+r)Y?em*`kSdXa6Qkl!!Bta7gZBaE~wXIp{osmRO^trc^zxN_Oq45}Jq^LOC5= zs!I#gs+=EADY3OeY8x;zqKdiItZ+vM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nC!u&hM;*R?$*G{)>lFAI|^*#@xXP1c-JE8nfB+vJ(3Bq|I6Xz zR;vNoj&i<6$;T)|az?zbY_HcD;1f%Rv0##jhNr0)(yz-e4%FhMqE-U$Cc1*<_E&^N z!R_*|!oH0*Fms>&w>P>#lS@QEVCpSoW4w+4<_WL4HQee!nTQ?c$=7JQhv3^kY{hOq z%j|tc=Qbq(CR^@;BC`VtO@Llb=YCoQ0g>TWW;s1Y1AVQXN>##=SMLN;uGI&9EO9fG zeq}6=jqx}M^XRPR_Br#V+(AmwxgTG^G+*}h^|j(QpQU7)d;`6f$MNcH=mT$RprodzCJq5%!ShS(61c^o zX8Jx16AmC^X$lLdCvyP9H&>U_xyFSc8vfBfijd(?c%c-rR)etKE6YKv&<}B&dsAYhF?g9G=Js!N$;CR(7iQs1L_57lm3bxc&B1z=S3txhPH$NYD_ly>)uVeW| zawK`DwLpXQm-<3S*6TxIqH(l5NoEnYH+Z7+AWDvtXBDm{R6c74G&}KWsvd#rmwpZ2 zPc|E&G~gUv39lbL2+0F9RxixY33Lx={XXCBQi420;(sZs9eL^jhtF}8Xw<4lA9A@e znoZaGTnr1CyVLgRnG{`rzj^3FtC?yv`B)pna(u6J+mGM#!q@cYcfo&{N?F-&++yG#W{#wf*0)yv+Ra-(`H9&hMnq^ejTmg z_KVRrUs&eHC#$c_Cdfo+VyAA=XDAETZ-C+;7YcRylSH*6SsJj++lbWQ9=QcadQhoU zddVW@-8b0H3@aSpmgiEc0fak0+-j~#WkMGkHHg>9#yzkOo+`&4CV4puX9SBx7KLaQXJkQGGV+qlqhREIluckfm(vzU_(q~!-uqt_a0mEnDK8lZ81IxRq t5hqOp;OjPIW@2evc+maozX4$ discussionManager.showDiscussionPart()); diff --git a/front/src/Phaser/Game/GameScene.ts b/front/src/Phaser/Game/GameScene.ts index dd1f9fe4..5ed2db87 100644 --- a/front/src/Phaser/Game/GameScene.ts +++ b/front/src/Phaser/Game/GameScene.ts @@ -1202,6 +1202,7 @@ export class GameScene extends ResizableScene implements CenterListener { private reposition(): void { this.presentationModeSprite.setY(this.game.renderer.height - 2); this.chatModeSprite.setY(this.game.renderer.height - 2); + this.openChatIcon.setY(this.game.renderer.height - 2); // Recompute camera offset if needed this.updateCameraOffset();