From d1c8e36ee014de43f6e02418c6d741e4f61ea12f Mon Sep 17 00:00:00 2001 From: Gellipapa Date: Sun, 23 Jul 2023 17:12:49 +0000 Subject: [PATCH] :art:Code formatted in all files --- client/vehicle/main.lua | 4 +--- shared/config.lua | 2 +- web/DefaultDatas.js | 4 ++-- web/src/assets/Components/Speedo.css | 4 ++-- 4 files changed, 6 insertions(+), 8 deletions(-) diff --git a/client/vehicle/main.lua b/client/vehicle/main.lua index 394d5a9..52d7068 100644 --- a/client/vehicle/main.lua +++ b/client/vehicle/main.lua @@ -14,12 +14,10 @@ local function SetSeatbeltState(state) isSeatbeltOn = state end -exports("SeatbeltState",function(...) +exports("SeatbeltState", function(...) SetSeatbeltState(...) end) - - if not Config.Disable.Vehicle then local inVehicle, vehicleType, playerPos = false, nil, nil local currentMileage = 0 diff --git a/shared/config.lua b/shared/config.lua index 5883e8f..0a8d9a2 100644 --- a/shared/config.lua +++ b/shared/config.lua @@ -37,7 +37,7 @@ Config = { ["speedo-outer-circle-color"] = "#242222", ["speedo-nooble-color"] = "#48a3cb", ["speedo-nooble-container"] = "#1f2937", - ["speedo-seatbelt-icon-color"] = "#D22B2B" + ["speedo-seatbelt-icon-color"] = "#D22B2B", }, }, Disable = { diff --git a/web/DefaultDatas.js b/web/DefaultDatas.js index 30ead83..47ecfec 100644 --- a/web/DefaultDatas.js +++ b/web/DefaultDatas.js @@ -226,8 +226,8 @@ const speedoDefaultColors = [ }, { name: "speedo-seatbelt-icon-color", - color: "#D22B2B" - } + color: "#D22B2B", + }, ]; const allColors = { diff --git a/web/src/assets/Components/Speedo.css b/web/src/assets/Components/Speedo.css index 0751c74..1d37e77 100644 --- a/web/src/assets/Components/Speedo.css +++ b/web/src/assets/Components/Speedo.css @@ -24,7 +24,7 @@ --speedo-nooble-color: #48a3cb; --speedo-nooble-container: #1f2937; --speedo-scale-size: 0.9; - --speedo-seatbelt-icon-color: #D22B2B; + --speedo-seatbelt-icon-color: #d22b2b; } /* SVG DONT'T TOUCH PLEASE THANK YOU */ @@ -163,7 +163,7 @@ fill: var(--fuel-icon-color); } -.seatbeltIconColor{ +.seatbeltIconColor { fill: var(--speedo-seatbelt-icon-color); }