Skip to content

Commit 1553be9

Browse files
ddamkeddamke
authored andcommitted
change svg name to match displayed svg
1 parent 7cf6fd8 commit 1553be9

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/main/java/de/doubleslash/keeptime/common/Resources.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public enum RESOURCE {
5353

5454
SVG_PENCIL_ICON("/svgs/pencil.svg"),
5555

56-
SVG_CLIPBOARD("/svgs/clipboard.svg"),
56+
SVG_CLIPBOARD_ICON("/svgs/clipboard.svg"),
5757

5858
SVG_BUG_ICON("/svgs/bug.svg"),
5959

@@ -67,7 +67,7 @@ public enum RESOURCE {
6767

6868
SVG_LICENSES_ICON("/svgs/closed-captioning.svg"),
6969

70-
SVG_COPY_PROJECT_NAME_ICON("/svgs/copy.svg"),
70+
SVG_MULTIPLE_CLIPBOARD_ICON("/svgs/copy.svg"),
7171

7272
ICON_MAIN("/icons/icon.png")
7373

src/main/java/de/doubleslash/keeptime/view/ReportController.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@ private GridPane setUpEditWorkGridPane(final Work work, final Dialog<Work> dialo
418418
}
419419

420420
private Button createCopyProjectNotesButton(final List<Work> projectWork) {
421-
final Button copyNotesButton = new Button("", SvgNodeProvider.getSvgNodeWithScale(RESOURCE.SVG_MULTIPLE_CLIPBOARD, 0.03, 0.03));
421+
final Button copyNotesButton = new Button("", SvgNodeProvider.getSvgNodeWithScale(RESOURCE.SVG_MULTIPLE_CLIPBOARD_ICON, 0.03, 0.03));
422422
copyNotesButton.setMaxSize(20, 18);
423423
copyNotesButton.setMinSize(20, 18);
424424
copyNotesButton.setContentDisplay(ContentDisplay.GRAPHIC_ONLY);
@@ -443,7 +443,7 @@ private Button createCopyProjectNotesButton(final List<Work> projectWork) {
443443
return copyNotesButton;
444444
}
445445
private Button createCopyProjectNameButton(String projectName) {
446-
final Button copyProjectNameButton = new Button("", SvgNodeProvider.getSvgNodeWithScale(RESOURCE.SVG_CLIPBOARD, 0.03, 0.03));
446+
final Button copyProjectNameButton = new Button("", SvgNodeProvider.getSvgNodeWithScale(RESOURCE.SVG_CLIPBOARD_ICON, 0.03, 0.03));
447447
copyProjectNameButton.setMaxSize(20, 18);
448448
copyProjectNameButton.setMinSize(20, 18);
449449
copyProjectNameButton.setContentDisplay(ContentDisplay.GRAPHIC_ONLY);
@@ -462,7 +462,7 @@ private Button createCopyProjectNameButton(String projectName) {
462462
}
463463

464464
private Node createCopyWorkButton(final Work w) {
465-
final Button copyButton = new Button("", SvgNodeProvider.getSvgNodeWithScale(RESOURCE.SVG_CLIPBOARD, 0.03, 0.03));
465+
final Button copyButton = new Button("", SvgNodeProvider.getSvgNodeWithScale(RESOURCE.SVG_CLIPBOARD_ICON, 0.03, 0.03));
466466
copyButton.setMaxSize(20, 18);
467467
copyButton.setMinSize(20, 18);
468468
copyButton.setContentDisplay(ContentDisplay.GRAPHIC_ONLY);

0 commit comments

Comments
 (0)