Skip to content

Commit

Permalink
update sampler.js (sugarlabs#4013)
Browse files Browse the repository at this point in the history
  • Loading branch information
haroon10725 authored Sep 27, 2024
1 parent 0f28aaf commit 1db603d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/widgets/sampler.js
Original file line number Diff line number Diff line change
Expand Up @@ -970,7 +970,7 @@ function SampleWidget() {
canvasCtx.fillRect(0, 0, width, height);

let oscText;
if (turtleIdx > 0) {
if (turtleIdx >= 0) {
//.TRANS: The sound sample that the user uploads.
oscText = this.sampleName != "" ? this.sampleName : _("sample");
}
Expand Down

0 comments on commit 1db603d

Please sign in to comment.