diff --git a/front/dist/resources/objects/talk.png b/front/dist/resources/objects/talk.png index b9ecdb30..bc06d3b0 100644 Binary files a/front/dist/resources/objects/talk.png and b/front/dist/resources/objects/talk.png differ diff --git a/front/dist/resources/style/style.css b/front/dist/resources/style/style.css index e540092b..111700d1 100644 --- a/front/dist/resources/style/style.css +++ b/front/dist/resources/style/style.css @@ -1117,7 +1117,7 @@ div.modal-report-user{ white-space: pre-wrap; word-wrap: break-word; } -.discussion .messages .message p.a{ +.discussion .messages .message p a{ color: white; } diff --git a/front/src/Phaser/Components/OpenChatIcon.ts b/front/src/Phaser/Components/OpenChatIcon.ts index bf293bab..1e9429e8 100644 --- a/front/src/Phaser/Components/OpenChatIcon.ts +++ b/front/src/Phaser/Components/OpenChatIcon.ts @@ -3,14 +3,12 @@ import {discussionManager} from "../../WebRtc/DiscussionManager"; export const openChatIconName = 'openChatIcon'; export class OpenChatIcon extends Phaser.GameObjects.Image { constructor(scene: Phaser.Scene, x: number, y: number) { - super(scene, x, y, openChatIconName); + super(scene, x, y, openChatIconName, 3); scene.add.existing(this); this.setScrollFactor(0, 0); this.setOrigin(0, 1); - this.displayWidth = 30; - this.displayHeight = 30; this.setInteractive(); - this.setVisible(false) + this.setVisible(false); this.setDepth(99999); this.on("pointerup", () => 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();