Skip to content

Commit

Permalink
return to relative path
Browse files Browse the repository at this point in the history
  • Loading branch information
mc-cat-tty committed Jan 25, 2023
1 parent c89d813 commit 37ec401
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions tunable/CommonFonts.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
import java.io.IOException;

public enum CommonFonts {
TEXT_NORMAL (File.separator + "assets" + File.separator + "InterRegular.ttf"),
TEXT_MEDIUM_WEIGHT (File.separator + "assets" + File.separator + "InterSemibold.ttf");
TEXT_NORMAL (".." + File.separator + "assets" + File.separator + "InterRegular.ttf"),
TEXT_MEDIUM_WEIGHT (".." + File.separator + "assets" + File.separator + "InterSemibold.ttf");

private Font font;

Expand Down
14 changes: 7 additions & 7 deletions tunable/CommonIcons.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
import javax.swing.*;

public enum CommonIcons {
FOLDER (File.separator + "assets" + File.separator + "folder.png"),
EXPORT (File.separator + "assets" + File.separator + "export.png"),
PRINT (File.separator + "assets" + File.separator + "print.png"),
EDIT (File.separator + "assets" + File.separator + "edit.png"),
DELETE (File.separator + "assets" + File.separator + "delete.png"),
DROPDOWN (File.separator + "assets" + File.separator + "dropdown.png"),
DROPUP (File.separator + "assets" + File.separator + "dropup.png");
FOLDER (".." + File.separator + "assets" + File.separator + "folder.png"),
EXPORT (".." + File.separator + "assets" + File.separator + "export.png"),
PRINT (".." + File.separator + "assets" + File.separator + "print.png"),
EDIT (".." + File.separator + "assets" + File.separator + "edit.png"),
DELETE (".." + File.separator + "assets" + File.separator + "delete.png"),
DROPDOWN (".." + File.separator + "assets" + File.separator + "dropdown.png"),
DROPUP (".." + File.separator + "assets" + File.separator + "dropup.png");

private final ImageIcon icon;

Expand Down

0 comments on commit 37ec401

Please sign in to comment.