Skip to content

Commit

Permalink
Use duplicateSelectedShader() to duplicate shaders
Browse files Browse the repository at this point in the history
  • Loading branch information
markusfisch committed Mar 24, 2024
1 parent 20a9254 commit a3bbf10
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ private void initToolbar() {
.setTooltipText(R.id.redo, R.string.redo)
.setClickListener(R.id.add_shader, this::addShader)
.setClickListener(R.id.save_shader, () -> saveShader(selectedShaderId))
.setClickListener(R.id.duplicate_shader, () -> duplicateShader(selectedShaderId))
.setClickListener(R.id.duplicate_shader, this::duplicateSelectedShader)
.setClickListener(R.id.delete_shader, () -> deleteShader(selectedShaderId))
.setClickListener(R.id.share_shader, this::shareShader)
.setClickListener(R.id.update_wallpaper, () -> updateWallpaper(selectedShaderId))
Expand Down

0 comments on commit a3bbf10

Please sign in to comment.