Skip to content

Commit

Permalink
fix arrow icons
Browse files Browse the repository at this point in the history
  • Loading branch information
ego-lay-atman-bay committed Dec 13, 2024
1 parent a2b5471 commit 9dbc188
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 20 deletions.
21 changes: 11 additions & 10 deletions scratch2/style.js
Original file line number Diff line number Diff line change
Expand Up @@ -531,6 +531,7 @@ export default class Style {
SVG.setProps(
SVG.el("path", {
d: "M 0.5 5 L 5 0.5 L 9.5 5 L 6.5 5 L 6.5 9.5 L 3.5 9.5 L 3.5 5 Z",
fill: "none",
}),
{
id: "sb-arrowUpOutline",
Expand All @@ -548,7 +549,7 @@ export default class Style {
SVG.setProps(
SVG.el("use", {
href: "#sb-arrowUp",
transform: "rotate(180 6 6)",
transform: "rotate(180 5 5)",
}),
{
id: "sb-arrowDown",
Expand All @@ -557,7 +558,7 @@ export default class Style {
SVG.setProps(
SVG.el("use", {
href: "#sb-arrowUpOutline",
transform: "rotate(180 6 6)",
transform: "rotate(180 5 5)",
}),
{
id: "sb-arrowDownOutline",
Expand All @@ -566,7 +567,7 @@ export default class Style {
SVG.setProps(
SVG.el("use", {
href: "#sb-arrowUpThin",
transform: "rotate(180 6 6)",
transform: "rotate(180 5 5)",
}),
{
id: "sb-arrowDownThin",
Expand All @@ -575,7 +576,7 @@ export default class Style {
SVG.setProps(
SVG.el("use", {
href: "#sb-arrowUp",
transform: "rotate(-90 6 6)",
transform: "rotate(-90 5 5)",
}),
{
id: "sb-arrowLeft",
Expand All @@ -584,7 +585,7 @@ export default class Style {
SVG.setProps(
SVG.el("use", {
href: "#sb-arrowUpOutline",
transform: "rotate(-90 6 6)",
transform: "rotate(-90 5 5)",
}),
{
id: "sb-arrowLeftOutline",
Expand All @@ -593,7 +594,7 @@ export default class Style {
SVG.setProps(
SVG.el("use", {
href: "#sb-arrowUpThin",
transform: "rotate(-90 6 6)",
transform: "rotate(-90 5 5)",
}),
{
id: "sb-arrowLeftThin",
Expand All @@ -602,7 +603,7 @@ export default class Style {
SVG.setProps(
SVG.el("use", {
href: "#sb-arrowUp",
transform: "rotate(90 6 6)",
transform: "rotate(90 5 5)",
}),
{
id: "sb-arrowRight",
Expand All @@ -611,7 +612,7 @@ export default class Style {
SVG.setProps(
SVG.el("use", {
href: "#sb-arrowUpOutline",
transform: "rotate(90 6 6)",
transform: "rotate(90 5 5)",
}),
{
id: "sb-arrowRightOutline",
Expand All @@ -620,7 +621,7 @@ export default class Style {
SVG.setProps(
SVG.el("use", {
href: "#sb-arrowUpThin",
transform: "rotate(90 6 6)",
transform: "rotate(90 5 5)",
}),
{
id: "sb-arrowRightThin",
Expand All @@ -638,7 +639,7 @@ export default class Style {
SVG.setProps(
SVG.el("use", {
href: "#sb-arrowUpDownThin",
transform: "rotate(90 6 6)",
transform: "rotate(90 5 5)",
}),
{
id: "sb-arrowLeftRightThin",
Expand Down
21 changes: 11 additions & 10 deletions scratch3/style.js
Original file line number Diff line number Diff line change
Expand Up @@ -812,6 +812,7 @@ export default class Style {
SVG.setProps(
SVG.el("path", {
d: "M 0.5 5 L 5 0.5 L 9.5 5 L 6.5 5 L 6.5 9.5 L 3.5 9.5 L 3.5 5 Z",
fill: "none",
}),
{
id: "sb3-arrowUpOutline",
Expand All @@ -829,7 +830,7 @@ export default class Style {
SVG.setProps(
SVG.el("use", {
href: "#sb3-arrowUp",
transform: "rotate(180 6 6)",
transform: "rotate(180 5 5)",
}),
{
id: "sb3-arrowDown",
Expand All @@ -838,7 +839,7 @@ export default class Style {
SVG.setProps(
SVG.el("use", {
href: "#sb3-arrowUpOutline",
transform: "rotate(180 6 6)",
transform: "rotate(180 5 5)",
}),
{
id: "sb3-arrowDownOutline",
Expand All @@ -847,7 +848,7 @@ export default class Style {
SVG.setProps(
SVG.el("use", {
href: "#sb3-arrowUpThin",
transform: "rotate(180 6 6)",
transform: "rotate(180 5 5)",
}),
{
id: "sb3-arrowDownThin",
Expand All @@ -856,7 +857,7 @@ export default class Style {
SVG.setProps(
SVG.el("use", {
href: "#sb3-arrowUp",
transform: "rotate(-90 6 6)",
transform: "rotate(-90 5 5)",
}),
{
id: "sb3-arrowLeft",
Expand All @@ -865,7 +866,7 @@ export default class Style {
SVG.setProps(
SVG.el("use", {
href: "#sb3-arrowUpOutline",
transform: "rotate(-90 6 6)",
transform: "rotate(-90 5 5)",
}),
{
id: "sb3-arrowLeftOutline",
Expand All @@ -874,7 +875,7 @@ export default class Style {
SVG.setProps(
SVG.el("use", {
href: "#sb3-arrowUpThin",
transform: "rotate(-90 6 6)",
transform: "rotate(-90 5 5)",
}),
{
id: "sb3-arrowLeftThin",
Expand All @@ -883,7 +884,7 @@ export default class Style {
SVG.setProps(
SVG.el("use", {
href: "#sb3-arrowUp",
transform: "rotate(90 6 6)",
transform: "rotate(90 5 5)",
}),
{
id: "sb3-arrowRight",
Expand All @@ -892,7 +893,7 @@ export default class Style {
SVG.setProps(
SVG.el("use", {
href: "#sb3-arrowUpOutline",
transform: "rotate(90 6 6)",
transform: "rotate(90 5 5)",
}),
{
id: "sb3-arrowRightOutline",
Expand All @@ -901,7 +902,7 @@ export default class Style {
SVG.setProps(
SVG.el("use", {
href: "#sb3-arrowUpThin",
transform: "rotate(90 6 6)",
transform: "rotate(90 5 5)",
}),
{
id: "sb3-arrowRightThin",
Expand All @@ -919,7 +920,7 @@ export default class Style {
SVG.setProps(
SVG.el("use", {
href: "#sb3-arrowUpDownThin",
transform: "rotate(90 6 6)",
transform: "rotate(90 5 5)",
}),
{
id: "sb3-arrowLeftRightThin",
Expand Down

0 comments on commit 9dbc188

Please sign in to comment.