Skip to content

Commit

Permalink
fix bug in asset paths (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pistonight authored Apr 8, 2024
1 parent 06959c6 commit 3990c61
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/data/util/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const Version = "v3.1.7";
export const Version = "v3.1.8";
2 changes: 1 addition & 1 deletion src/ui/css/Tooltip.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ div.TooltipWindow {
border: 2px solid #0088ff;
color: #ffffff;
padding: 5px;
background-image: url("assets/Background.png");
background-image: url("/assets/Background.png");
white-space: nowrap;
}

Expand Down
8 changes: 4 additions & 4 deletions src/ui/css/main.css
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
@font-face {
font-family: CalamitySans;
src: url("assets/font/Calamity-Regular.otf") format("opentype");
src: url("/assets/font/Calamity-Regular.otf") format("opentype");
}

@font-face {
font-family: DejaVuSansMono;
src: url("assets/font/DejaVuSansMono.ttf") format("truetype");
src: url("/assets/font/DejaVuSansMono.ttf") format("truetype");
}

body {
Expand Down Expand Up @@ -44,11 +44,11 @@ a:visited {
}

.SheikaBackground {
background-image: url("assets/Background.png");
background-image: url("/assets/Background.png");
}

.HatenoBackground {
background-image: url("assets/InGame.png");
background-image: url("/assets/InGame.png");
background-position: center;
background-repeat: no-repeat;
background-size: cover;
Expand Down

0 comments on commit 3990c61

Please sign in to comment.