From c95e20c677937bcf33723e51abade7022bbbe93a Mon Sep 17 00:00:00 2001 From: Alexis Faizeau Date: Mon, 6 Dec 2021 16:12:37 +0100 Subject: [PATCH] Lint & Prettier fixes on Svelte files --- front/src/Components/App.svelte | 97 ++++---- .../AudioManager/AudioManager.svelte | 77 ++++--- front/src/Components/CameraControls.svelte | 39 ++-- front/src/Components/Chat/Chat.svelte | 125 +++++----- front/src/Components/Chat/ChatElement.svelte | 89 ++++---- .../Components/Chat/ChatMessageForm.svelte | 63 ++--- .../src/Components/Chat/ChatPlayerName.svelte | 42 ++-- front/src/Components/Chat/ChatSubMenu.svelte | 26 +-- .../CustomCharacterScene.svelte | 135 ++++++----- .../src/Components/EmoteMenu/EmoteMenu.svelte | 109 +++++---- .../EnableCamera/EnableCameraScene.svelte | 216 +++++++++--------- .../HorizontalSoundMeterWidget.svelte | 50 ++-- .../HelpCameraSettingsPopup.svelte | 31 ++- .../LayoutManager/LayoutManager.svelte | 74 +++--- front/src/Components/Login/LoginScene.svelte | 176 +++++++------- .../Components/Menu/AboutRoomSubMenu.svelte | 101 ++++---- .../Components/Menu/AudioGlobalMessage.svelte | 91 ++++---- .../src/Components/Menu/ContactSubMenu.svelte | 49 ++-- .../src/Components/Menu/CustomSubMenu.svelte | 29 ++- .../Menu/GlobalMessagesSubMenu.svelte | 109 ++++----- front/src/Components/Menu/GuestSubMenu.svelte | 74 +++--- front/src/Components/Menu/Menu.svelte | 176 +++++++------- front/src/Components/Menu/MenuIcon.svelte | 64 +++--- .../src/Components/Menu/ProfileSubMenu.svelte | 173 +++++++------- .../Components/Menu/SettingsSubMenu.svelte | 212 +++++++++-------- .../Components/Menu/TextGlobalMessage.svelte | 49 ++-- front/src/Components/MyCamera.svelte | 27 +-- .../Components/ReportMenu/BlockSubMenu.svelte | 15 +- .../Components/ReportMenu/ReportMenu.svelte | 140 ++++++------ .../ReportMenu/ReportSubMenu.svelte | 32 +-- .../SelectCompanionScene.svelte | 104 +++++---- front/src/Components/SoundMeterWidget.svelte | 34 +-- .../Components/TypeMessage/BanMessage.svelte | 122 +++++----- .../Components/TypeMessage/TextMessage.svelte | 62 ++--- front/src/Components/UI/AudioPlaying.svelte | 54 ++--- front/src/Components/UI/ErrorDialog.svelte | 57 +++-- front/src/Components/Video/ChatLayout.svelte | 20 +- .../Video/LocalStreamMediaBox.svelte | 13 +- front/src/Components/Video/MediaBox.svelte | 12 +- .../Video/PresentationLayout.svelte | 18 +- .../Video/ScreenSharingMediaBox.svelte | 26 +-- .../src/Components/Video/VideoMediaBox.svelte | 29 ++- .../src/Components/Video/VideoOverlay.svelte | 15 +- .../src/Components/VisitCard/VisitCard.svelte | 128 ++++++----- .../WarningContainer/WarningContainer.svelte | 50 ++-- .../SelectCharacterScene.svelte | 113 ++++----- 46 files changed, 1852 insertions(+), 1695 deletions(-) diff --git a/front/src/Components/App.svelte b/front/src/Components/App.svelte index ab8b6d3f..4886cc4e 100644 --- a/front/src/Components/App.svelte +++ b/front/src/Components/App.svelte @@ -1,147 +1,146 @@
{#if $loginSceneVisibleStore}
- +
{/if} {#if $selectCharacterSceneVisibleStore}
- +
{/if} {#if $customCharacterSceneVisibleStore}
- +
{/if} {#if $selectCompanionSceneVisibleStore}
- +
{/if} {#if $enableCameraSceneVisibilityStore}
- +
{/if} {#if $banMessageVisibleStore}
- +
{/if} {#if $textMessageVisibleStore}
- +
{/if} {#if $soundPlayingStore} -
- -
+
+ +
{/if} {#if $audioManagerVisibilityStore} -
- -
+
+ +
{/if} {#if $layoutManagerVisibilityStore}
- +
{/if} {#if $showReportScreenStore !== userReportEmpty}
- +
{/if} {#if $menuIconVisiblilityStore}
- +
{/if} {#if $menuVisiblilityStore}
- +
{/if} {#if $emoteMenuStore}
- +
{/if} {#if $gameOverlayVisibilityStore}
- - - + + +
{/if} {#if $helpCameraSettingsVisibleStore}
- +
{/if} {#if $requestVisitCardsStore} - + {/if} {#if $errorStore.length > 0} -
- -
+
+ +
{/if} {#if $chatVisibilityStore} - + {/if} {#if $warningContainerStore} - + {/if}
diff --git a/front/src/Components/AudioManager/AudioManager.svelte b/front/src/Components/AudioManager/AudioManager.svelte index e201254c..3253699e 100644 --- a/front/src/Components/AudioManager/AudioManager.svelte +++ b/front/src/Components/AudioManager/AudioManager.svelte @@ -1,10 +1,7 @@ -
- - - + + + + d="M11.536 14.01A8.473 8.473 0 0 0 14.026 8a8.473 8.473 0 0 0-2.49-6.01l-.708.707A7.476 7.476 0 0 1 13.025 8c0 2.071-.84 3.946-2.197 5.303l.708.707z" + /> + d="M10.121 12.596A6.48 6.48 0 0 0 12.025 8a6.48 6.48 0 0 0-1.904-4.596l-.707.707A5.483 5.483 0 0 1 11.025 8a5.483 5.483 0 0 1-1.61 3.89l.706.706z" + /> + d="M8.707 11.182A4.486 4.486 0 0 0 10.025 8a4.486 4.486 0 0 0-1.318-3.182L8 5.525A3.489 3.489 0 0 1 9.025 8 3.49 3.49 0 0 1 8 10.475l.707.707z" + /> - +
+
- \ No newline at end of file + diff --git a/front/src/Components/CameraControls.svelte b/front/src/Components/CameraControls.svelte index 728c84e9..232d42da 100644 --- a/front/src/Components/CameraControls.svelte +++ b/front/src/Components/CameraControls.svelte @@ -1,6 +1,6 @@ - + - -