Skip to content

Commit

Permalink
changed color pick sound
Browse files Browse the repository at this point in the history
  • Loading branch information
Ipagaxi committed Mar 15, 2024
1 parent d824328 commit da9fc8c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/UIElements/UIColorPicker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@ UIColorPicker::UIColorPicker(std::string imagePath, std::string borderPath) {
// For a save small overlap
this->borderSP.scale(0.97, 0.97);

this->releaseSoundBuffer.loadFromFile(RESOURCE_PATH "test_sounds/air_gun.wav");
this->releaseSoundBuffer.loadFromFile(RESOURCE_PATH "test_sounds/softair.wav");
this->releaseSound.setBuffer(this->releaseSoundBuffer);
this->releaseSound.setPitch(1.5);
}

UIColorPicker::UIColorPicker(sf::Image image, std::string borderPath) {
Expand Down
Binary file added src/resources/test_sounds/softair.wav
Binary file not shown.

0 comments on commit da9fc8c

Please sign in to comment.