diff --git a/public/images/Button_Background.png b/public/images/Button_Background.png index 28a3269..333eecd 100644 Binary files a/public/images/Button_Background.png and b/public/images/Button_Background.png differ diff --git a/public/images/Layout_Button_Bmp.png b/public/images/Layout_Button_Bmp.png new file mode 100644 index 0000000..27fa8c4 Binary files /dev/null and b/public/images/Layout_Button_Bmp.png differ diff --git a/public/images/Layout_Button_Over.png b/public/images/Layout_Button_Over.png new file mode 100644 index 0000000..d4fc594 Binary files /dev/null and b/public/images/Layout_Button_Over.png differ diff --git a/public/images/button_highlighted.png b/public/images/button_highlighted.png index af20c13..ca98e16 100644 Binary files a/public/images/button_highlighted.png and b/public/images/button_highlighted.png differ diff --git a/src/components/views/ArcEditorView.tsx b/src/components/views/ArcEditorView.tsx index 4a92027..9bf6ce9 100644 --- a/src/components/views/ArcEditorView.tsx +++ b/src/components/views/ArcEditorView.tsx @@ -58,7 +58,7 @@ export const ArcEditorView: React.FC = () => { parsed.name = path.split(/[\/\\]/).pop() || "archive.arc"; setArc(parsed); setOpenedPath(path); - + const locEntry = parsed.entries.find(entry => entry.filename.toLowerCase() === "languages.loc"); if (locEntry) { try { @@ -92,7 +92,7 @@ export const ArcEditorView: React.FC = () => { if (!targetPath) { targetPath = await TauriService.saveFileDialog(t("arcEditor.saveArcDialog"), arc.name || "archive.arc", ["arc"]); } - + if (targetPath) { await TauriService.writeBinaryFile(targetPath, data); setOpenedPath(targetPath); @@ -302,7 +302,7 @@ export const ArcEditorView: React.FC = () => { if (!baseFolder) return; playPressSound(); showNotification(t("arcEditor.exportingAll")); - + for (const entry of arc.entries) { const fileName = entry.filename.replace(/\//g, "_"); await TauriService.writeBinaryFile(`${baseFolder}/${fileName}`, entry.data); @@ -331,7 +331,7 @@ export const ArcEditorView: React.FC = () => { @@ -339,7 +339,7 @@ export const ArcEditorView: React.FC = () => { onClick={handleExportAll} disabled={!arc || arc.entries.length === 0} className={`px-6 py-2 text-white mc-text-shadow transition-all hover:text-[#FFFF55] text-lg outline-none ${(!arc || arc.entries.length === 0) ? "opacity-50 grayscale" : ""}`} - style={{ backgroundImage: "url('/images/Button_Background.png')", backgroundSize: "100% 100%" }} + style={{ backgroundImage: "url('/images/Layout_Button_Bmp.png')", backgroundSize: "100% 100%" }} > {t("arcEditor.exportAll")} @@ -347,7 +347,7 @@ export const ArcEditorView: React.FC = () => { onClick={handleSaveArc} disabled={!arc} className={`px-6 py-2 text-white mc-text-shadow transition-all hover:text-[#FFFF55] text-lg outline-none ${!arc ? "opacity-50 grayscale" : ""}`} - style={{ backgroundImage: "url('/images/Button_Background.png')", backgroundSize: "100% 100%" }} + style={{ backgroundImage: "url('/images/Layout_Button_Bmp.png')", backgroundSize: "100% 100%" }} > {t("arcEditor.saveArc")} @@ -397,7 +397,7 @@ export const ArcEditorView: React.FC = () => { @@ -428,21 +428,21 @@ export const ArcEditorView: React.FC = () => { @@ -489,7 +489,7 @@ export const ArcEditorView: React.FC = () => { showNotification(t("arcEditor.createdNewLocaleStructure")); }} className="px-6 py-2 text-white mc-text-shadow text-lg" - style={{ backgroundImage: "url('/images/Button_Background.png')", backgroundSize: "100% 100%" }} + style={{ backgroundImage: "url('/images/Layout_Button_Bmp.png')", backgroundSize: "100% 100%" }} > {t("arcEditor.createLoc")} @@ -516,14 +516,14 @@ export const ArcEditorView: React.FC = () => { @@ -573,7 +573,7 @@ export const ArcEditorView: React.FC = () => { @@ -738,4 +738,3 @@ function LocEditModal({ data, lang, onClose, onConfirm }: { data: { langIdx: num ); } - diff --git a/src/components/views/ColEditorView.tsx b/src/components/views/ColEditorView.tsx index 3f2251b..c596436 100644 --- a/src/components/views/ColEditorView.tsx +++ b/src/components/views/ColEditorView.tsx @@ -143,7 +143,7 @@ export default function ColEditorView() { @@ -151,7 +151,7 @@ export default function ColEditorView() { onClick={handleSaveCol} disabled={!col} className={`px-6 py-2 text-white mc-text-shadow text-lg ${!col ? "opacity-50 grayscale" : ""}`} - style={{ backgroundImage: "url('/images/Button_Background.png')", backgroundSize: "100% 100%" }} + style={{ backgroundImage: "url('/images/Layout_Button_Bmp.png')", backgroundSize: "100% 100%" }} > {t("colEditor.saveCol")} @@ -193,7 +193,7 @@ export default function ColEditorView() { @@ -371,7 +371,7 @@ export default function ColEditorView() { diff --git a/src/components/views/CreditsView.tsx b/src/components/views/CreditsView.tsx index d8a81d1..d07f471 100644 --- a/src/components/views/CreditsView.tsx +++ b/src/components/views/CreditsView.tsx @@ -346,8 +346,8 @@ const CreditsView = memo(function CreditsView() { className="fixed bottom-8 left-8 z-50 h-10 flex items-center justify-center gap-2 px-4 text-xl mc-text-shadow outline-none border-none" style={{ backgroundImage: isHovered - ? "url('/images/button_highlighted.png')" - : "url('/images/Button_Background.png')", + ? "url('/images/Layout_Button_Over.png')" + : "url('/images/Layout_Button_Bmp.png')", backgroundSize: "100% 100%", imageRendering: "pixelated", color: isHovered ? "#FFFF55" : "white", diff --git a/src/components/views/DevtoolsView.tsx b/src/components/views/DevtoolsView.tsx index 64f3887..d7969e3 100644 --- a/src/components/views/DevtoolsView.tsx +++ b/src/components/views/DevtoolsView.tsx @@ -180,8 +180,8 @@ export default function DevtoolsView() { style={{ backgroundImage: focusIndex === BACK_BUTTON_INDEX - ? "url('/images/button_highlighted.png')" - : "url('/images/Button_Background.png')", + ? "url('/images/Layout_Button_Over.png')" + : "url('/images/Layout_Button_Bmp.png')", backgroundSize: "100% 100%", imageRendering: "pixelated", }} diff --git a/src/components/views/GoldMapperView.tsx b/src/components/views/GoldMapperView.tsx index 74b2da2..c662231 100644 --- a/src/components/views/GoldMapperView.tsx +++ b/src/components/views/GoldMapperView.tsx @@ -428,7 +428,7 @@ const GoldMapperView = memo(function GoldMapperView() { onClick={handleBack} className="w-40 h-10 flex items-center justify-center transition-colors text-xl mc-text-shadow outline-none border-none hover:text-[#ffff00] mt-4 text-white" style={{ - backgroundImage: "url('/images/Button_Background.png')", + backgroundImage: "url('/images/Layout_Button_Bmp.png')", backgroundSize: "100% 100%", imageRendering: "pixelated", }} diff --git a/src/components/views/GrfEditorView.tsx b/src/components/views/GrfEditorView.tsx index 5e468d3..379e80d 100644 --- a/src/components/views/GrfEditorView.tsx +++ b/src/components/views/GrfEditorView.tsx @@ -229,7 +229,7 @@ export default function GrfEditorView() { diff --git a/src/components/views/GuidesView.tsx b/src/components/views/GuidesView.tsx index c1893f2..ed22922 100644 --- a/src/components/views/GuidesView.tsx +++ b/src/components/views/GuidesView.tsx @@ -274,8 +274,8 @@ export default function GuidesView() { style={{ backgroundImage: focusIndex === BACK_BUTTON_INDEX - ? "url('/images/button_highlighted.png')" - : "url('/images/Button_Background.png')", + ? "url('/images/Layout_Button_Over.png')" + : "url('/images/Layout_Button_Bmp.png')", backgroundSize: "100% 100%", imageRendering: "pixelated", }} diff --git a/src/components/views/LocEditorView.tsx b/src/components/views/LocEditorView.tsx index 8b57b8a..0806c90 100644 --- a/src/components/views/LocEditorView.tsx +++ b/src/components/views/LocEditorView.tsx @@ -206,7 +206,7 @@ export default function LocEditorView() { diff --git a/src/components/views/ModelEditorView.tsx b/src/components/views/ModelEditorView.tsx index 19970e3..4b6fa02 100644 --- a/src/components/views/ModelEditorView.tsx +++ b/src/components/views/ModelEditorView.tsx @@ -692,7 +692,7 @@ export default function ModelEditorView() { }} className="w-72 h-full flex items-center justify-center transition-colors text-2xl mc-text-shadow outline-none border-none hover:text-[#FFFF55] text-white" style={{ - backgroundImage: "url('/images/Button_Background.png')", + backgroundImage: "url('/images/Layout_Button_Bmp.png')", backgroundSize: "100% 100%", imageRendering: "pixelated", }} diff --git a/src/components/views/OptionsEditorView.tsx b/src/components/views/OptionsEditorView.tsx index e90ab45..c4014c8 100644 --- a/src/components/views/OptionsEditorView.tsx +++ b/src/components/views/OptionsEditorView.tsx @@ -217,7 +217,7 @@ export default function OptionsEditorView() { diff --git a/src/components/views/PckEditorView.tsx b/src/components/views/PckEditorView.tsx index 0707fc3..87456b7 100644 --- a/src/components/views/PckEditorView.tsx +++ b/src/components/views/PckEditorView.tsx @@ -1039,7 +1039,7 @@ export default function PckEditorView() { }} className="w-72 h-14 shrink-0 flex items-center justify-center transition-colors text-2xl mc-text-shadow mt-6 outline-none border-none hover:text-[#FFFF55] text-white" style={{ - backgroundImage: "url('/images/Button_Background.png')", + backgroundImage: "url('/images/Layout_Button_Bmp.png')", backgroundSize: "100% 100%", imageRendering: "pixelated", }} diff --git a/src/components/views/SettingsView.tsx b/src/components/views/SettingsView.tsx index 0d98544..7d460de 100644 --- a/src/components/views/SettingsView.tsx +++ b/src/components/views/SettingsView.tsx @@ -173,8 +173,8 @@ const SettingsView = memo(function SettingsView() {
${t("settings.reset.confirm")}
${t("settings.reset.cannotBeUndone")}