mirror of
https://github.com/arsvendg/Stirling-PDF.git
synced 2026-07-14 10:34:06 +02:00
Fix unresolved Material Symbols icon names in frontend (#6443)
This commit is contained in:
@@ -1137,7 +1137,7 @@ const SignSettings = ({
|
|||||||
gap: "0.4rem",
|
gap: "0.4rem",
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<LocalIcon icon="pause-rounded" width={20} height={20} />
|
<LocalIcon icon="pause-circle-rounded" width={20} height={20} />
|
||||||
<Text component="span" size="sm" fw={500}>
|
<Text component="span" size="sm" fw={500}>
|
||||||
{translate("mode.pause", "Pause placement")}
|
{translate("mode.pause", "Pause placement")}
|
||||||
</Text>
|
</Text>
|
||||||
|
|||||||
@@ -125,7 +125,7 @@ const TOOL_ICON_MAP: Record<string, string> = {
|
|||||||
squiggly: "show-chart",
|
squiggly: "show-chart",
|
||||||
ink: "edit",
|
ink: "edit",
|
||||||
inkHighlighter: "brush",
|
inkHighlighter: "brush",
|
||||||
square: "crop-square",
|
square: "crop-square-outline",
|
||||||
circle: "radio-button-unchecked",
|
circle: "radio-button-unchecked",
|
||||||
line: "show-chart",
|
line: "show-chart",
|
||||||
lineArrow: "show-chart",
|
lineArrow: "show-chart",
|
||||||
@@ -144,7 +144,7 @@ function getIconByType(type: number | undefined): string {
|
|||||||
if (type === 1) return "comment";
|
if (type === 1) return "comment";
|
||||||
if (type === 3) return "sticky-note-2";
|
if (type === 3) return "sticky-note-2";
|
||||||
if (type === 4 || type === 8) return "show-chart";
|
if (type === 4 || type === 8) return "show-chart";
|
||||||
if (type === 5) return "crop-square";
|
if (type === 5) return "crop-square-outline";
|
||||||
if (type === 6) return "radio-button-unchecked";
|
if (type === 6) return "radio-button-unchecked";
|
||||||
if (type === 7 || type === 8) return "change-history";
|
if (type === 7 || type === 8) return "change-history";
|
||||||
if (type === 9) return "highlight";
|
if (type === 9) return "highlight";
|
||||||
|
|||||||
@@ -259,7 +259,7 @@ export function AnnotationPanel(props: AnnotationPanelProps) {
|
|||||||
{
|
{
|
||||||
id: "square",
|
id: "square",
|
||||||
label: t("annotation.square", "Square"),
|
label: t("annotation.square", "Square"),
|
||||||
icon: "crop-square",
|
icon: "crop-square-outline",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: "circle",
|
id: "circle",
|
||||||
|
|||||||
+1
-5
@@ -797,11 +797,7 @@ export default function AdminDatabaseSection() {
|
|||||||
</Button>
|
</Button>
|
||||||
<Button
|
<Button
|
||||||
leftSection={
|
leftSection={
|
||||||
<LocalIcon
|
<LocalIcon icon="upload" width="1rem" height="1rem" />
|
||||||
icon="cloud-upload"
|
|
||||||
width="1rem"
|
|
||||||
height="1rem"
|
|
||||||
/>
|
|
||||||
}
|
}
|
||||||
onClick={handleCreateBackup}
|
onClick={handleCreateBackup}
|
||||||
loading={creatingBackup}
|
loading={creatingBackup}
|
||||||
|
|||||||
@@ -1169,11 +1169,7 @@ const SignSettings = ({
|
|||||||
gap: "0.4rem",
|
gap: "0.4rem",
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<LocalIcon
|
<LocalIcon icon="pause-circle-rounded" width={20} height={20} />
|
||||||
icon="material-symbols:pause-rounded"
|
|
||||||
width={20}
|
|
||||||
height={20}
|
|
||||||
/>
|
|
||||||
<Text component="span" size="sm" fw={500}>
|
<Text component="span" size="sm" fw={500}>
|
||||||
{translate("mode.pause", "Pause placement")}
|
{translate("mode.pause", "Pause placement")}
|
||||||
</Text>
|
</Text>
|
||||||
@@ -1197,11 +1193,7 @@ const SignSettings = ({
|
|||||||
gap: "0.4rem",
|
gap: "0.4rem",
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<LocalIcon
|
<LocalIcon icon="play-arrow-rounded" width={20} height={20} />
|
||||||
icon="material-symbols:play-arrow-rounded"
|
|
||||||
width={20}
|
|
||||||
height={20}
|
|
||||||
/>
|
|
||||||
<Text component="span" size="sm" fw={500}>
|
<Text component="span" size="sm" fw={500}>
|
||||||
{translate("mode.resume", "Resume placement")}
|
{translate("mode.resume", "Resume placement")}
|
||||||
</Text>
|
</Text>
|
||||||
|
|||||||
Reference in New Issue
Block a user