Skip to content

Commit 7cf6fd8

Browse files
ddamkeddamke
authored andcommitted
switch clipboard svgs for better usability
1 parent 02fb53d commit 7cf6fd8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -263,8 +263,8 @@ private void updateReport(final LocalDate dateToShow) {
263263
}
264264

265265
final HBox projectButtonBox = new HBox();
266-
projectButtonBox.getChildren().add(createCopyProjectNotesButton(onlyCurrentProjectWork));
267266
projectButtonBox.getChildren().add(createCopyProjectNameButton(project.getName()));
267+
projectButtonBox.getChildren().add(createCopyProjectNotesButton(onlyCurrentProjectWork));
268268

269269
final TreeItem<TableRow> projectRow = new TreeItem<>(
270270
new ProjectTableRow(project, projectWorkSeconds, projectButtonBox));
@@ -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_CLIPBOARD, 0.03, 0.03));
421+
final Button copyNotesButton = new Button("", SvgNodeProvider.getSvgNodeWithScale(RESOURCE.SVG_MULTIPLE_CLIPBOARD, 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_COPY_PROJECT_NAME_ICON, 0.03, 0.03));
446+
final Button copyProjectNameButton = new Button("", SvgNodeProvider.getSvgNodeWithScale(RESOURCE.SVG_CLIPBOARD, 0.03, 0.03));
447447
copyProjectNameButton.setMaxSize(20, 18);
448448
copyProjectNameButton.setMinSize(20, 18);
449449
copyProjectNameButton.setContentDisplay(ContentDisplay.GRAPHIC_ONLY);

0 commit comments

Comments
 (0)